From 6587b5ad964ecd3ccddd67e556fe8c86838abb0d Mon Sep 17 00:00:00 2001 From: Tony Stork Date: Thu, 22 Dec 2022 15:17:04 -0500 Subject: [PATCH] More toggle optimizations --- node-red/projects/NerdFlows | 2 +- scripts.yaml | 11 ++++++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/node-red/projects/NerdFlows b/node-red/projects/NerdFlows index e956bd6..574ed51 160000 --- a/node-red/projects/NerdFlows +++ b/node-red/projects/NerdFlows @@ -1 +1 @@ -Subproject commit e956bd6bd26d7aa23fb4e34f180b161e018616ed +Subproject commit 574ed5196115cfaac8a223b1d63759dc6710a299 diff --git a/scripts.yaml b/scripts.yaml index 4d9df23..c32e21a 100644 --- a/scripts.yaml +++ b/scripts.yaml @@ -163,6 +163,10 @@ global_off: data: {} target: entity_id: all + - service: input_boolean.turn_off + data: {} + target: + entity_id: input_boolean.tina_desk_lights mode: single icon: mdi:earth-off global_on: @@ -176,6 +180,9 @@ global_on: icon: mdi:earth max_brightness: sequence: + - service: input_boolean.turn_on + target: + entity_id: input_boolean.tina_desk_lights - service: switch.turn_off target: entity_id: @@ -361,7 +368,9 @@ max_brightness_cleanup: - service: input_boolean.turn_off data: {} target: - entity_id: input_boolean.shower_mode + entity_id: + - input_boolean.shower_mode + - input_boolean.tina_desk_lights - service: input_boolean.turn_on data: {} target: