From 01e1b503926d54866fe366e2ec8b61a7e723e43d Mon Sep 17 00:00:00 2001 From: "Joshua M. Boniface" Date: Fri, 12 Jul 2024 02:54:22 -0400 Subject: [PATCH] Add restart after error --- supersensor.yaml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/supersensor.yaml b/supersensor.yaml index 6618512..cfe5bd1 100644 --- a/supersensor.yaml +++ b/supersensor.yaml @@ -321,6 +321,12 @@ voice_assistant: - voice_assistant.start_continuous: on_end: - logger.log: "voice ended" + - if: + condition: + switch.is_on: voice_support_active + then: + - voice_assistant.stop: + - voice_assistant.start_continuous: on_client_connected: - if: condition: