Fix delay: syntax

This commit is contained in:
2020-03-08 11:53:30 +02:00
parent 3a397a7a91
commit 822da5fb57
4 changed files with 8 additions and 8 deletions
+1 -1
View File
@@ -12,7 +12,7 @@ script:
- media_player.living_room_tv
- service: light.turn_off
entity_id: light.all_lights
- delay: "00:00:02"
- delay: 00:00:02
- service: media_player.volume_set
entity_id: media_player.master_bedroom
data:
+3 -3
View File
@@ -14,11 +14,11 @@ script:
- condition: state
entity_id: input_boolean.routine_welcome_home
state: "on"
- delay: "00:00:03"
- delay: 00:00:03
- service: script.coming_home_say_welcome
# TODO: Add condition for time - don't blast music late at night :)
- delay: "00:00:03"
- delay: 00:00:03
- service: media_player.shuffle_set
entity_id: media_player.master_bedroom
data:
@@ -42,7 +42,7 @@ script:
- !include ../../templates/partials/time.yaml
- "Here's the current status:"
- !include ../../templates/partials/window_check.yaml
- delay: "00:00:10"
- delay: 00:00:10
- service: script.talk
data_template:
message: >-
+2 -2
View File
@@ -3,11 +3,11 @@ script:
alias: Routine - Waking up
sequence:
- service: script.routine_morning_briefing
- delay: "00:00:25"
- delay: 00:00:25
- service: script.talk
data:
message: "Here's some music to start the day!"
- delay: "00:00:02"
- delay: 00:00:02
- service: media_player.select_source
entity_id: media_player.master_bedroom
data: