This integration allows to use Azure Speech-to-Text in Home Assistant.
You can install this integration via HACS. Go to HACS / Integrations / Three-dots menu / Custom repositories and add:
- Repository:
https://github.com/Robert0309/ha-azure-stt.git
- Category: Integration
Then install the "Azure Speech-To-Text" integration.
Azure subscription - Create one for free.
Create a Speech resource in the Azure portal.
Your Speech resource key and region. After your Speech resource is deployed, select Go to resource to view and manage keys. For more information about Azure AI services resources, see Get the keys for your resource.
Then add the following to your configuration.yaml
:
stt:
- platform: azure_stt
api_key: api_ky
region: region
After enabling the integration, you can configure a Voice Assistant
to use it by selecting azure_stt
in the "Speech-to-text" option.
The supported languages are listed here.
The stt integration does not support any configuration parameters, got [{'platform': 'azure_stt', 'api_key': 'api_ky', 'region': 'region'}]. Please remove the configuration parameters from your configuration.
This is a known issue due to a bug in Home Assistant >= 2023.7. However, the reported message does not affect the functionality of this integration, it should still work as expected (if properly configured).