From e5af7491108ec070ceeac14e5a2887401455d993 Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 22 Dec 2022 15:07:41 -0500 Subject: [PATCH] Adjusted to use the new toggle automation for desk lights --- node-red/projects/NerdFlows | 2 +- packages/presence.yaml | 21 ++++++++------------- 2 files changed, 9 insertions(+), 14 deletions(-) diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index 8c8d3ca..e956bd6 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit 8c8d3cad274997394bbe481aa3fb85a1fda4d843 +Subproject commit e956bd6bd26d7aa23fb4e34f180b161e018616ed diff --git a/packages/presence.yaml b/packages/presence.yaml index 9abf9de..d9b661b 100644 --- a/packages/presence.yaml +++ b/packages/presence.yaml @@ -374,7 +374,9 @@ script: - dining_room - downstairs_bathroom - upstairs_bathroom - - tina_desk + - service: input_boolean.turn_off + target: + entity_id: input_boolean.tina_desk_lights - service: fan.turn_off target: area_id: @@ -467,12 +469,9 @@ script: - input_select.mud_room_scenes data: option: Adaptive - - service: input_select.select_option + - service: input_boolean.turn_on target: - entity_id: - - input_select.tina_desk_scenes - data: - option: Day Mode + entity_id: input_boolean.tina_desk_lights - service: input_select.select_option target: entity_id: input_select.dining_room_lamp_scenes @@ -511,7 +510,9 @@ script: - living_room - dining_room - mud_room - - tina_desk + - service: input_boolean.turn_on + target: + entity_id: input_boolean.tina_desk_scenes - delay: hours: 0 minutes: 0 @@ -524,12 +525,6 @@ script: - input_select.mud_room_scenes data: option: Adaptive - - service: input_select.select_option - target: - entity_id: - - input_select.tina_desk_scenes - data: - option: Night Mode - service: input_select.select_option target: entity_id: input_select.dining_room_lamp_scenes