From 21bf1f6faa1bd572b72560d501673f81fd568fbc Mon Sep 17 00:00:00 2001 From: JLo Date: Thu, 23 Jan 2025 09:17:05 +0000 Subject: [PATCH] Add fast-connect substitution. Ignore one more error state. --- home-assistant-voice.yaml | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home-assistant-voice.yaml b/home-assistant-voice.yaml index d52dd8f..0add00f 100644 --- a/home-assistant-voice.yaml +++ b/home-assistant-voice.yaml @@ -14,6 +14,8 @@ substitutions: voice_assist_not_ready_phase_id: '10' # The voice assistant encountered an error voice_assist_error_phase_id: '11' + # Change this to true in case you ahve a hidden SSID at home. + hidden_ssid: "false" esphome: name: home-assistant-voice @@ -97,6 +99,7 @@ esp32: wifi: id: wifi_id + fast_connect: ${hidden_ssid} on_connect: - lambda: id(improv_ble_in_progress) = false; - script.execute: control_leds @@ -1596,6 +1599,7 @@ voice_assistant: and: - lambda: return !id(init_in_progress); - lambda: return code != "duplicate_wake_up_detected"; + - lambda: return code != "stt-no-text-recognized"; then: - lambda: id(voice_assistant_phase) = ${voice_assist_error_phase_id}; - script.execute: control_leds