Skip to main content

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:

  1. Go to the GitHub Releases page.
  2. Find the draft release created by release-drafter.
  3. Verify that the tag and name are the expected ones (e.g., 1.2.3)
  4. 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.

Metadata

Release files for hass-nabucasa 2.8.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hass-nabucasa 2.8.0
File Size Uploaded Provenance Actions
hass_nabucasa-2.8.0.tar.gz 140.7 kB With provenance Details for hass_nabucasa-2.8.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hass-nabucasa 2.8.0
File Interpreter ABI Platform Actions
hass_nabucasa-2.8.0-py3-none-any.whl Python 3 none any Details for hass_nabucasa-2.8.0-py3-none-any.whl

Total release size: 241.7 kB

Release files / hass_nabucasa-2.8.0.tar.gz

Download URL hass_nabucasa-2.8.0.tar.gz
Size 140.7 kB
Tags Source
SHA-256 checksum
How to use checksums
976022cc0863736fb85ab93c50a1b97af5434596198dc7ee8fd3b0f5f0d0121e
BLAKE2b-256 checksum
How to use checksums
89111df769561fad7a927527d3efb53badee75dbdbc2b479c15fb5fabb1845ec
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 Oct 21, 2026.

Transparency log

Release files / hass_nabucasa-2.8.0-py3-none-any.whl

Download URL hass_nabucasa-2.8.0-py3-none-any.whl
Size 101.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5af1318251041814612fb064124c15015e150395194b8f410412ba868b6e0f47
BLAKE2b-256 checksum
How to use checksums
7b1a471289c17523c0a4549b1213816e3743695d33db174c8afb5946f18b4c49
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 Oct 21, 2026.

Transparency log

Security for hass-nabucasa 2.8.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for hass_nabucasa-2.8.0.tar.gz

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 Oct 21, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.8.0 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page