From ef8931e7324171c38a5df0290de729295de156a1 Mon Sep 17 00:00:00 2001 From: CCOSTAN Date: Tue, 17 Dec 2024 20:24:57 +0000 Subject: [PATCH] Turn off the TV when we go to bed or go away. #1369 - Added to the Interior_off script mainly. --- config/automation/away.yaml | 1 + config/automation/good_night.yaml | 10 ++++------ config/script/interior_off.yaml | 1 + 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/config/automation/away.yaml b/config/automation/away.yaml index f4f440f2..f6840a5c 100755 --- a/config/automation/away.yaml +++ b/config/automation/away.yaml @@ -27,6 +27,7 @@ entity_id: lock.front_door - service: script.interior_off + - service: switch.turn_off entity_id: switch.back_landscaping diff --git a/config/automation/good_night.yaml b/config/automation/good_night.yaml index 82478e56..f7d1cede 100755 --- a/config/automation/good_night.yaml +++ b/config/automation/good_night.yaml @@ -47,12 +47,10 @@ - service: input_boolean.turn_off entity_id: input_boolean.good_night - service: homeassistant.turn_off - entity_id: group.outdoor_seasonal - - service: homeassistant.turn_off - entity_id: switch.kitchen_accent_2 - - service: homeassistant.turn_off - entity_id: group.master_bathroom_accents - + entity_id: + - group.outdoor_seasonal + - switch.kitchen_accent_2 + - group.master_bathroom_accents - service: script.interior_off - alias: 'Bed Presence AMP Trigger' diff --git a/config/script/interior_off.yaml b/config/script/interior_off.yaml index 2f247cb6..c39fdf6e 100755 --- a/config/script/interior_off.yaml +++ b/config/script/interior_off.yaml @@ -12,6 +12,7 @@ interior_off: - group.interior_lights - group.interior_switches - switch.lr_amp + - media_player.samsung_q70_series_65 - service: script.paige_lights_off # C by GE Lights (https://amzn.to/30w3UWy) - service: script.garage_lights_off # C by GE Lights (https://amzn.to/30w3UWy) # - service: script.noon_lights_off # Noon Home Smart Lights (https://amzn.to/3fOIPx6)