A previous release had provenance metadata, but this release does not. View details.
HA Voice Label Sync
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
Preview panel
Generated 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
Install with HACS (recommended)
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.
- Open HACS in Home Assistant.
- Search for HA Voice Label Sync.
- Install the integration.
- Restart Home Assistant.
- Go to Settings → Devices & services → Add integration.
- Search for HA Voice Label Sync, add it, and configure its options.
Requirements
- Home Assistant 2025.6.0 or later
- For the Google Assistant backend: a working Home Assistant Google Assistant integration, including its Google Cloud project and service account
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.
⚙️ 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_stateandexpose_by_defaultare enabled - The
service_accountreference (such as!include google_key.json) - The configured
entity_configreference - 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.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Loss of provenance
These files do not have provenance metadata, despite files in a prior release including this data.
We recommend further investigation before installing these files. View details.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ha_voice_label_sync-0.3.5.tar.gz | 25.0 kB | Without provenance | Details for ha_voice_label_sync-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ha_voice_label_sync-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for ha_voice_label_sync-0.3.5-py3-none-any.whl |
Total release size: 41.5 kB
Release files / ha_voice_label_sync-0.3.5.tar.gz
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | ha_voice_label_sync-0.3.5.tar.gz |
|---|---|
| Size | 25.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f912a94da6ae762517321840e9e2325712ed6491cbe9f9c193f79bacce77b10e
|
|
BLAKE2b-256 checksum How to use checksums |
bfaae5b5e623620711956b208685b3d8f7f5bab11967ef850f6dee238c9716da
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / ha_voice_label_sync-0.3.5-py3-none-any.whl
Loss of provenance
This file belongs to a release without provenance metadata, despite a prior release including this data.
We recommend further investigation before installing this file. View details.
| Download URL | ha_voice_label_sync-0.3.5-py3-none-any.whl |
|---|---|
| Size | 16.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
822ae64fc9daa69118dbe24d3c1bd5e499c4ade35b6a501a8fd52fa1f0cd2d12
|
|
BLAKE2b-256 checksum How to use checksums |
b7327208b1e7da23916893cfb0187b99ac1e604a31b7be700d82721c378e60c9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for ha-voice-label-sync 0.3.5
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.
Loss of provenance
A previous release of these files had provenance metadata, but this release does not.
While this could reflect a routine change by the project maintainers, it may also indicate that the release files have been compromised.
Release comparison
- Removed 0.3.3 2 files With provenance
- Added 0.3.5 2 files Without provenance
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.