Add on_client_connects and disconnected triggers to voice assistant (#3310)

This commit is contained in:
Jesse Hills 2023-10-31 11:16:48 +13:00 committed by GitHub
parent 5a1fbf37c9
commit 044de13ea6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions

View File

@ -58,6 +58,11 @@ Configuration:
when the voice assistant has encountered an error. The error code and message are available to
automations as the variables ``code`` and ``message``.
- **on_client_connected** (*Optional*, :ref:`Automation <automation>`): An automation to perform
when Home Assistant has connected and is waiting for Voice Assistant commands.
- **on_client_disconnected** (*Optional*, :ref:`Automation <automation>`): An automation to perform
when Home Assistant disconnects from the Voice Assistant.
- **noise_suppression_level** (*Optional*, integer): The noise suppression level to apply to the assist pipeline.
Between 0 and 4 inclusive. Defaults to 0 (disabled).
- **auto_gain** (*Optional*, dBFS): Auto gain level to apply to the assist pipeline.