Skip to main content
HA Voice Label Sync

HA Voice Label Sync

Python checks Latest release

Manage once in Home Assistant. Sync everywhere.

Generate voice assistant entity exposure configuration from Home Assistant labels. Choose the entities you want to expose, preview the YAML, and generate it with backup support.

Current Home Assistant integration release: v0.3.4
Python package dependency: v0.3.2

🚧 HVLS is actively developed. Feedback, issues, and contributions are welcome.

✨ Why HVLS?

Maintaining large Google Assistant entity_config sections manually can become tedious and error-prone. HVLS lets you manage exposure through labels in Home Assistant and generate a dedicated configuration file.

  • 🏷️ Select exposed entities through Home Assistant labels

  • 👀 Preview the configuration before generating files

  • ⚡ Generate the YAML from the Home Assistant interface

  • 💾 Create automatic backups with configurable retention

  • 🔍 Inspect your existing Google Assistant configuration (read-only)

  • 🏠 Use a native Home Assistant integration, available through HACS

  • 🔌 Extend the architecture with additional voice assistant backends in the future

📸 Screenshots

Screenshots of older versions may differ slightly from the current interface.

Home Assistant configuration

Capture d'écran 2026-10-21 163333 Capture d'écran 2026-10-21 164834 Capture d'écran 2026-10-21 163419

Preview panel

HVLS preview panel

HVLS preview

Generated YAML

Generated Google Assistant YAML

Google Assistant configuration checker (since v0.3.3)

Open Settings → Devices & services → HA Voice Label Sync → Configure → Check Google Assistant to inspect the configuration detected by HVLS. The checker does not modify any files.

A screenshot of the current checker interface can be added here.

🚀 Installation

HA Voice Label Sync is listed in the official HACS catalog. You no longer need to add this repository manually as a custom repository for a standard installation.

  1. Open HACS in Home Assistant.
  2. Search for HA Voice Label Sync.
  3. Install the integration.
  4. Restart Home Assistant.
  5. Go to Settings → Devices & services → Add integration.
  6. Search for HA Voice Label Sync, add it, and configure its options.

Requirements

Manual installation

For installations without HACS, use the repository's release source to copy custom_components/ha_voice_label_sync to the corresponding directory under your Home Assistant /config/custom_components/, then restart Home Assistant and add the integration from Devices & services.

Releases

⚙️ Google Assistant configuration

HVLS generates a separate YAML file containing the entities to expose. By default, the output is:

/config/google_assistant_entities.yaml

Reference this file from the existing google_assistant: configuration in your Home Assistant configuration.yaml:

google_assistant:
  project_id: YOUR_PROJECT_ID
  service_account: !include google_key.json
  report_state: true
  expose_by_default: false
  entity_config: !include google_assistant_entities.yaml

This is an example: retain your existing Google Assistant project and credential configuration. HVLS only generates the entity configuration file; it does not create google_key.json or configure Google Cloud.

🔍 Check Google Assistant (v0.3.3+)

From the integration options, choose Check Google Assistant. This read-only diagnostic reads the relevant settings from configuration.yaml and displays:

  • Whether a google_assistant: configuration was found
  • The project_id
  • Whether report_state and expose_by_default are enabled
  • The service_account reference (such as !include google_key.json)
  • The configured entity_config reference
  • Whether the referenced entity configuration file exists
  • Whether its path matches the output file configured in HVLS
  • Warnings for detected configuration inconsistencies

The checker does not open or read the service-account JSON file, write to configuration.yaml, regenerate entity files, or change any Google Assistant setting. It provides diagnostics, not a complete validation of Google Cloud credentials or connectivity.

The integration's HVLS settings remain available as a separate option. Version v0.3.4 fixes the settings form regression introduced in v0.3.3.

🧭 Typical workflow

🏷️ Label entities in Home Assistant
                ↓
👀 Preview generated configuration
                ↓
✅ Review the YAML
                ↓
⚡ Generate the entity configuration file
                ↓
🔄 Restart Home Assistant
                ↓
🎤 Synchronize the voice assistant if needed

🏠 Home Assistant integration features

  • Native configuration and options flows
  • Separate HVLS settings and Check Google Assistant options
  • Preview and generate actions
  • Automatic backups and retention settings
  • WebSocket API
  • English and French translations
  • Automated regression tests and GitHub Actions validation

🐍 Python engine and CLI

The project also provides a standalone Python package and CLI for advanced users and automation. The Python package version may differ from the Home Assistant integration version.

pip install ha-voice-label-sync
hvls --help

hvls \
  --storage /config/.storage \
  --output /config/google_assistant_entities.yaml \
  --label google_assistant

The current generation workflow uses Home Assistant .storage registry files. A future improvement will use Home Assistant's in-memory entity, device, area, and label registries in the native integration; that migration is not part of v0.3.4.

🎤 Supported voice assistants

Backend Status
Google Assistant ✅ Supported
Amazon Alexa 🚧 Planned
Apple HomeKit 📋 Planned

🏗️ Architecture

 Home Assistant labels
          │
          ▼
  HA Voice Label Sync ──► Preview / review
          │
          ▼
 Generated entity_config YAML
          │
          ▼
 Official Google Assistant integration
          │
          ▼
       Google Home

Future backends may use the same label-driven workflow. HVLS currently supports Google Assistant for generation.

🧪 Tests and releases

The repository includes automated Python tests, Ruff checks, and Home Assistant/HACS validation workflows. Since v0.3.4, the tests also check that each options-menu destination has a corresponding handler, protecting against the regression fixed in that release.

For release notes, see GitHub Releases.

📚 Documentation and roadmap

See ROADMAP.md for planned improvements. Additional documentation may be found in the docs/ directory as the project evolves.

🤝 Contributing

Bug reports, feature requests, and pull requests are welcome. Please use GitHub Issues to report problems or propose improvements.

📄 License

MIT

Metadata

Release files for ha-voice-label-sync 0.3.3

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

Source distribution (sdist)

Source distribution for ha-voice-label-sync 0.3.3
File Size Uploaded Provenance Actions
ha_voice_label_sync-0.3.3.tar.gz 16.5 kB With provenance Details for ha_voice_label_sync-0.3.3.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ha-voice-label-sync 0.3.3
File Interpreter ABI Platform Actions
ha_voice_label_sync-0.3.3-py3-none-any.whl Python 3 none any Details for ha_voice_label_sync-0.3.3-py3-none-any.whl

Total release size: 32.7 kB

Release files / ha_voice_label_sync-0.3.3.tar.gz

Download URL ha_voice_label_sync-0.3.3.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
19d9f44d1d63bdec9de8994730dfa1bba030bdaad189b4cb30864b020c30d6fe
BLAKE2b-256 checksum
How to use checksums
a04b1eab5d78a853b5d89a64f86a110840325429793db81f0228909663db75b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 / ha_voice_label_sync-0.3.3-py3-none-any.whl

Download URL ha_voice_label_sync-0.3.3-py3-none-any.whl
Size 16.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
0ae26ea9b46b74b1185f59669a652f136906e81dd98348d376dd4b2529e74680
BLAKE2b-256 checksum
How to use checksums
27e7ea798c9b61a23b5b3b2b3cc9ab23f2ca7e3138a71673264518173ae610ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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 ha-voice-label-sync 0.3.3

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 ha_voice_label_sync-0.3.3.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.

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