Add some additional VA triggers, part 2 (#3399)

Co-authored-by: Jesse Hills <3060199+jesserockz@users.noreply.github.com>
This commit is contained in:
Keith Burzinski 2023-11-21 15:09:18 -06:00 committed by Jesse Hills
parent cab23ae95c
commit acd603cb37
No known key found for this signature in database
GPG Key ID: BEAAE804EFD8E83A
1 changed files with 4 additions and 0 deletions

View File

@ -60,6 +60,10 @@ Configuration:
- **on_tts_end** (*Optional*, :ref:`Automation <automation>`): An automation to perform
when the voice assistant has finished text-to-speech. A URL containing the audio response
is available to automations as the variable ``x``.
- **on_tts_stream_start** (*Optional*, :ref:`Automation <automation>`): An automation to perform when audio stream
(voice response) playback starts. Requires ``speaker`` to be configured.
- **on_tts_stream_end** (*Optional*, :ref:`Automation <automation>`): An automation to perform when audio stream
(voice response) playback ends. Requires ``speaker`` to be configured.
- **on_error** (*Optional*, :ref:`Automation <automation>`): An automation to perform
when the voice assistant has encountered an error. The error code and message are available to
automations as the variables ``code`` and ``message``.