Add automation for when voice timers are finished

This commit is contained in:
2023-07-31 15:31:19 -04:00
parent 638a709b2f
commit 02991d9837

View File

@ -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"