From c935cd8cd0650c9eead0513dee3f8416c81443b4 Mon Sep 17 00:00:00 2001 From: Jesse Hills <3060199+jesserockz@users.noreply.github.com> Date: Tue, 28 Nov 2023 09:57:51 +1300 Subject: [PATCH] Add 'voice_assistant.connected' condition (#3414) --- components/voice_assistant.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/components/voice_assistant.rst b/components/voice_assistant.rst index 9441bd4f0..c59d57a5f 100644 --- a/components/voice_assistant.rst +++ b/components/voice_assistant.rst @@ -14,7 +14,7 @@ ESPHome devices with a microphone are able to stream the audio to Home Assistant .. warning:: Audio and voice components consume a significant amount of resources (RAM, CPU) on the device. - + **Crashes are likely to occur** if you include too many additional components in your device's configuration. In particular, Bluetooth/BLE components are known to cause issues when used in combination with Voice Assistant and/or other audio components. @@ -119,6 +119,7 @@ Voice Assistant Conditions The following conditions are available for use in automations: - ``voice_assistant.is_running`` - Returns true if the voice assistant is currently running. +- ``voice_assistant.connected`` - Returns true if the voice assistant is currently connected to Home Assistant. Wake word detection -------------------