Tackled master bedroom scenes in Node-RED, removing automation from yaml

This commit is contained in:
2022-03-17 19:37:10 -04:00
parent aed89282c0
commit 1ede049fb6

View File

@ -303,107 +303,6 @@
default: [] default: []
mode: queued mode: queued
max: 2 max: 2
- id: '1644531090692'
alias: Master Bedroom Scenes
description: ''
trigger:
- platform: state
entity_id: input_select.master_bedroom_scenes
condition: []
action:
- choose:
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Bright
sequence:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_bright
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Dimmed
sequence:
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_dimmed
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Front Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_front_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Side Nightlight
sequence:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: scene.turn_on
data: {}
target:
entity_id: scene.master_bedroom_side_nightlight
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Adaptive
sequence:
- service: light.turn_on
data: {}
target:
entity_id:
- light.master_bedroom_front
- light.master_bedroom_side
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_sleep_mode_master_bedroom
- service: adaptive_lighting.apply
data:
entity_id: switch.adaptive_lighting_master_bedroom
- conditions:
- condition: state
entity_id: input_select.master_bedroom_scenes
state: Reset
sequence:
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.master_bedroom_scenes
default: []
mode: queued
max: 2
- id: '1645738561470' - id: '1645738561470'
alias: Cast to Basement TV alias: Cast to Basement TV
description: '' description: ''