Adjusted K's bedtime script
This commit is contained in:
@ -321,8 +321,9 @@
|
|||||||
player: media_player.basement_tv_chromecast
|
player: media_player.basement_tv_chromecast
|
||||||
view: chromecast
|
view: chromecast
|
||||||
- id: '1650223622885'
|
- id: '1650223622885'
|
||||||
alias: Kallen's Sleep Time
|
alias: Kallen Bedtime Protocol
|
||||||
description: ''
|
description: Activates fan or white noise at bedtime depending on temperature (turning
|
||||||
|
down speaker volume as well) and then shuts them off in the morning.
|
||||||
trigger:
|
trigger:
|
||||||
- platform: time
|
- platform: time
|
||||||
id: kallen-night
|
id: kallen-night
|
||||||
@ -369,6 +370,11 @@
|
|||||||
data:
|
data:
|
||||||
who: kallen_bedroom
|
who: kallen_bedroom
|
||||||
message: Fan on. Stay cool!
|
message: Fan on. Stay cool!
|
||||||
|
- service: media_player.volume_set
|
||||||
|
data:
|
||||||
|
volume_level: 0.3
|
||||||
|
target:
|
||||||
|
entity_id: media_player.kallen_bedroom_speaker
|
||||||
- service: fan.turn_on
|
- service: fan.turn_on
|
||||||
data: {}
|
data: {}
|
||||||
target:
|
target:
|
||||||
|
Reference in New Issue
Block a user