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.1

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.1
File Size Uploaded Provenance Actions
hass_nabucasa-2.8.1.tar.gz 143.2 kB With provenance Details for hass_nabucasa-2.8.1.tar.gz

Built distribution (wheel)

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

Total release size: 244.5 kB

Release files / hass_nabucasa-2.8.1.tar.gz

Download URL hass_nabucasa-2.8.1.tar.gz
Size 143.2 kB
Tags Source
SHA-256 checksum
How to use checksums
28faff85be9c59ae17e9c876af75b2669fdc9bb73d5c561f38c904689dc3325e
BLAKE2b-256 checksum
How to use checksums
452838918ea60cce26061058e0a7a38b9970b208714098b6aa71bbfe0c316956
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 28, 2026.

Transparency log

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

Download URL hass_nabucasa-2.8.1-py3-none-any.whl
Size 101.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6006a60dd53f2850820b27cfaa92dae8e9a8ae06b79044721b1f0c6359c84abf
BLAKE2b-256 checksum
How to use checksums
c104b4c264a5360daaf45183de921677d02961b3d6b07e758e3a96d25822bba6
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 28, 2026.

Transparency log

Security for hass-nabucasa 2.8.1

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.1.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 28, 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.1 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