Skip to content

Latest commit

 

History

History
48 lines (33 loc) · 2.58 KB

README.md

File metadata and controls

48 lines (33 loc) · 2.58 KB

Azure Speech-To-Text for Home Assistant

hacs_badge

This integration allows to use Azure Speech-to-Text in Home Assistant.

Install

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.

Configure

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.

FAQ

I get the following error in the Home Assistant system log

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