From 02991d983712330cd5f7bbb9d19495d9c3bebcda Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Mon, 31 Jul 2023 15:31:19 -0400 Subject: [PATCH] Add automation for when voice timers are finished --- packages/time.yaml | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/packages/time.yaml b/packages/time.yaml index d04bed8..ad9d2d4 100644 --- a/packages/time.yaml +++ b/packages/time.yaml @@ -36,3 +36,25 @@ intent_script: entity_id: "{{ room }}" speech: text: "Okay" + +automation: + - id: 849b72f0-89e9-421b-9e75-01a6d977488d + alias: Timer Handling + description: This automation will handle when house timers (usually set by voice) are finished + mode: queued + max: 10 + trigger: + - platform: event + event_type: timer.finished + event_data: + entity_id: timer.kitchen_timer + id: kitchen-finished + action: + - choose: + - conditions: "{{ trigger.id == 'kitchen-finished' }}" + sequence: + - service: script.speech_engine + data: + type: normal + who: common + message: "The timer for the kitchen is finished" \ No newline at end of file