From aa1cd1bd417b20ef5044a2efa25a8a54fe14c13c Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Fri, 17 Jun 2022 15:16:19 -0400 Subject: [PATCH] New script for cleaning up from max brightness mode --- scripts.yaml | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) diff --git a/scripts.yaml b/scripts.yaml index e8276bc..9cf0b92 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -335,3 +335,48 @@ watchman_audit: notify_service: notify.ios_tony mode: single icon: mdi:magnify +max_brightness_cleanup: + alias: Max Brightness Cleanup + sequence: + - service: input_boolean.turn_off + data: {} + target: + entity_id: input_boolean.shower_mode + - service: input_boolean.turn_on + data: {} + target: + entity_id: input_boolean.front_porch_light_on + - service: automation.turn_on + data: {} + target: + entity_id: automation.living_room_night_lighting + - service: switch.turn_on + target: + entity_id: + - switch.adaptive_lighting_basement_studio + - switch.adaptive_lighting_kallen_bedroom + - switch.adaptive_lighting_living_room + - switch.adaptive_lighting_master_bedroom + - switch.adaptive_lighting_mud_room + - switch.adaptive_lighting_nursery + - switch.adaptive_lighting_upstairs_hallway + - switch.adaptive_lighting_dining_room + - switch.adaptive_lighting_upstairs_bathroom + - switch.adaptive_lighting_downstairs_bathroom + - switch.adaptive_lighting_tina_lamp + data: {} + - service: input_text.set_value + data: {} + target: + entity_id: + - input_text.basement_studio_selected_scene + - input_text.downstairs_bathroom_selected_scene + - input_text.kallen_bedroom_selected_scene + - input_text.living_room_selected_scene + - input_text.master_bedroom_selected_scene + - input_text.mud_room_selected_scene + - input_text.nursery_selected_scene + - input_text.tina_lamp_selected_scene + - input_text.upstairs_hallway_selected_scene + mode: single + icon: mdi:broom