[Custom Integration] ha-voice-label-sync – Manage voice assistant exposure using Home Assistant Labels

Hi everyone,

I wanted to share a tool I developed to solve a common annoyance: managing entity exposure to voice assistants (such as Google Assistant) through tedious YAML configuration files.

Meet ha-voice-label-sync ! :tada:

This integration makes your Home Assistant Labels the single source of truth for managing voice assistant exposure. Once configured, you can expose or hide entities simply by adding or removing a label directly from the Home Assistant UI.

:sparkles: Key Features

Automated: Generates the required voice assistant configuration automatically.
UI-Driven: No more editing YAML just to expose a new light, switch, or other entity.
Centralized: Manage which entities are exposed directly from Home Assistant using Labels.

:rocket: How to try it

The integration is currently under review for inclusion in the official HACS repository. In the meantime, you can install it as a custom repository:

Open HACS in Home Assistant.
Click the three dots in the top-right corner and select Custom repositories.
Paste the repository URL: GitHub - flimo44/ha-voice-label-sync: Generate Google Assistant entity_config from Home Assistant labels. Includes CLI, PyPI package and Home Assistant integration. · GitHub
Select Integration as the category and click Add.
Install the integration, restart Home Assistant, and configure it.

HVLS also requires a small addition to your configuration.yaml to include the generated configuration. Please follow the setup instructions in the GitHub documentation before installing/configuring the integration.

Full documentation and source code:

I’d love to get your feedback! If you find a bug or have an idea for a new feature, feel free to reply here or open an issue on GitHub.

Happy automating! :house: