New script for announcement
This commit is contained in:
@ -228,4 +228,17 @@ script:
|
|||||||
- service: script.status_annc
|
- service: script.status_annc
|
||||||
data_template:
|
data_template:
|
||||||
who: 'everywhere'
|
who: 'everywhere'
|
||||||
call_dinner_is_ready: 1
|
call_dinner_is_ready: 1
|
||||||
|
|
||||||
|
welcome_home:
|
||||||
|
sequence:
|
||||||
|
- wait_template: "{{ is_state('binary_sensor.front_door','on') }}"
|
||||||
|
timeout:
|
||||||
|
minutes: 5
|
||||||
|
continue_on_timeout: false
|
||||||
|
- delay:
|
||||||
|
seconds: 5
|
||||||
|
- service: script.speech_engine
|
||||||
|
data_template:
|
||||||
|
who: living_room
|
||||||
|
message: !include ../templates/speech/welcome_home.yaml
|
Reference in New Issue
Block a user