mirror of
https://github.com/CeeWeasel/fresh-home.git
synced 2026-08-10 11:00:14 -04:00
automations and things
This commit is contained in:
@@ -60,7 +60,11 @@ script:
|
|||||||
command: interrupt_start
|
command: interrupt_start
|
||||||
|
|
||||||
- alias: "Then wait a second"
|
- alias: "Then wait a second"
|
||||||
delay: "00:00:01"
|
delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 0
|
||||||
|
milliseconds: 250
|
||||||
|
|
||||||
# This looks to cause the first part of the message to be missed.
|
# This looks to cause the first part of the message to be missed.
|
||||||
# Instead of initally muting the speakers, I'll just set them to the appropriate volume off the bat
|
# Instead of initally muting the speakers, I'll just set them to the appropriate volume off the bat
|
||||||
@@ -80,7 +84,10 @@ script:
|
|||||||
|
|
||||||
- alias: "Wait another bit for the volume to be set"
|
- alias: "Wait another bit for the volume to be set"
|
||||||
delay:
|
delay:
|
||||||
seconds: 2
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 0
|
||||||
|
milliseconds: 250
|
||||||
|
|
||||||
- alias: "Play the announcement"
|
- alias: "Play the announcement"
|
||||||
service: media_player.play_media
|
service: media_player.play_media
|
||||||
@@ -109,7 +116,11 @@ script:
|
|||||||
value_template: "{{ is_state(media_player, 'idle') }}"
|
value_template: "{{ is_state(media_player, 'idle') }}"
|
||||||
|
|
||||||
- alias: "Give a second of dead air after the announcement"
|
- alias: "Give a second of dead air after the announcement"
|
||||||
delay: "00:00:02"
|
delay:
|
||||||
|
hours: 0
|
||||||
|
minutes: 0
|
||||||
|
seconds: 0
|
||||||
|
milliseconds: 250
|
||||||
|
|
||||||
- choose:
|
- choose:
|
||||||
- alias: "Ytube music player was playing something earlier"
|
- alias: "Ytube music player was playing something earlier"
|
||||||
|
|||||||
Reference in New Issue
Block a user