hass-nabucasa
hass-nabucasa is the underlying library that enables Home Assistant to connect to and utilize Nabu Casa cloud services.
This library handles a range of cloud-related functionality including:
- Authentication and account management
- Remote UI connections via SniTun
- API interactions with Nabu Casa cloud services
- Voice processing capabilities
- ACME certificate management
- Google Assistant and Alexa integration
- Cloud webhook management
- Cloud file storage and management
Installation
python3 -m pip install hass-nabucasa==x.y.z
Release process
hass-nabucasa is released through GitHub and published to PyPI.
The release process is automated and triggered through the GitHub UI:
- Go to the GitHub Releases page.
- Find the draft release created by release-drafter.
- Verify that the tag and name are the expected ones (e.g.,
1.2.3) - Publish the release (and set it as the latest release)
Once published, GitHub Actions workflows automatically:
- Build the package
- Publish to PyPI
There is no need to manually update version information in the codebase.
Development and contributing
Development environment
We recommend using Visual Studio Code with the official Dev Container extension for development. This provides a consistent, pre-configured environment with all dependencies installed.
This will automatically set up a development environment with all required dependencies.
Running tests
scripts/test
Code quality
This project uses pre-commit hooks for code quality checks:
scripts/lint
Updating voice data
To update the voice data with the latest from Azure:
python3 -m scripts.update_voice_data
You will need to fetch an Azure TTS token. You can generate one by running the sample key generator server and visiting http://localhost:3001/api/get-speech-token.
Release files for hass-nabucasa 2.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| hass_nabucasa-2.4.0.tar.gz | 124.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| hass_nabucasa-2.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 218.2 kB
Release files / hass_nabucasa-2.4.0.tar.gz
| Download URL | hass_nabucasa-2.4.0.tar.gz |
|---|---|
| Size | 124.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74711212432fb3572317885bc60c67372528463945a6538aed9fe74cf1f837eb
|
|
BLAKE2b-256 checksum How to use checksums |
75a0c99a254b597c39d3bbf6488a866d3d73000ac0763f00543e241793c1575b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.
Transparency logRelease files / hass_nabucasa-2.4.0-py3-none-any.whl
| Download URL | hass_nabucasa-2.4.0-py3-none-any.whl |
|---|---|
| Size | 93.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b36089dbc947ac3c934d11d65fc69e6ea083c99bb11b54503f881069fad88cd1
|
|
BLAKE2b-256 checksum How to use checksums |
425a8e24dfe4c9689764b21e1a413897c7b62f946980f90f59caaea060594488
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Aug 24, 2026.
Transparency log