From 3b4758c1ea6abf2dabcc99f0b8a5d865dc5c732c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 21 Apr 2022 14:20:04 -0400 Subject: [PATCH] Adjusted K's bedtime script --- automations.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/automations.yaml b/automations.yaml index da325fd..94707fa 100644 --- a/automations.yaml +++ b/automations.yaml @@ -321,8 +321,9 @@ player: media_player.basement_tv_chromecast view: chromecast - id: '1650223622885' - alias: Kallen's Sleep Time - description: '' + alias: Kallen Bedtime Protocol + 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: - platform: time id: kallen-night @@ -369,6 +370,11 @@ data: who: kallen_bedroom 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 data: {} target: