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
python3 -m pip install hass-nabucasa==x.y.z
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.
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.
scripts/test
This project uses pre-commit hooks for code quality checks:
scripts/lint
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
.