Cleaning up my automations as I've moved several things to Node-RED
This commit is contained in:
583
automations.yaml
583
automations.yaml
@ -204,28 +204,6 @@
|
|||||||
action:
|
action:
|
||||||
- service: script.give_me_darkness
|
- service: script.give_me_darkness
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1641765546839'
|
|
||||||
alias: Sunset Lights On
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: sun
|
|
||||||
event: sunset
|
|
||||||
offset: -00:30
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: state
|
|
||||||
entity_id: weather.stratton_ave
|
|
||||||
state: Sunny
|
|
||||||
action:
|
|
||||||
- service: light.turn_on
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- light.living_room_lights
|
|
||||||
- light.mud_room_overhead
|
|
||||||
data: {}
|
|
||||||
mode: single
|
|
||||||
- id: '1643321652916'
|
- id: '1643321652916'
|
||||||
alias: Time-Based Presence Simulation
|
alias: Time-Based Presence Simulation
|
||||||
description: ''
|
description: ''
|
||||||
@ -255,156 +233,6 @@
|
|||||||
- service: device_tracker.icloud3_restart
|
- service: device_tracker.icloud3_restart
|
||||||
data: {}
|
data: {}
|
||||||
mode: single
|
mode: single
|
||||||
- id: '1644520312792'
|
|
||||||
alias: Living Room Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_living_room
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Energize
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_energize
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Concentrate
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_concentrate
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Read
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_read
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Relax
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.living_room_relax
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644520666008'
|
|
||||||
alias: Mud Room Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.mud_room_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.mud_room_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.mud_room_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_mud_room
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.mud_room_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644528841392'
|
- id: '1644528841392'
|
||||||
alias: Dining Room Lamp Modes
|
alias: Dining Room Lamp Modes
|
||||||
description: ''
|
description: ''
|
||||||
@ -475,279 +303,6 @@
|
|||||||
default: []
|
default: []
|
||||||
mode: queued
|
mode: queued
|
||||||
max: 2
|
max: 2
|
||||||
- id: '1644529151295'
|
|
||||||
alias: Upstairs Hallway Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_hallway_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_hallway_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_hallway_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_upstairs_hallway
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.upstairs_hallway_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644529426060'
|
|
||||||
alias: Kallen Bedroom Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.kallen_bedroom_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.kallen_bedroom_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.kallen_bedroom_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_kallen_bedroom
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.kallen_bedroom_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644529671106'
|
|
||||||
alias: Nursery Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.nursery_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.nursery_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.nursery_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_nursery
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.nursery_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644530206434'
|
|
||||||
alias: Basement Studio Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Energize
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_energize
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Concentrate
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_concentrate
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Relax
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_relax
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Purple
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_purple
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Pink
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.basement_studio_pink
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_basement_studio
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.basement_studio_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1644531090692'
|
- id: '1644531090692'
|
||||||
alias: Master Bedroom Scenes
|
alias: Master Bedroom Scenes
|
||||||
description: ''
|
description: ''
|
||||||
@ -849,30 +404,6 @@
|
|||||||
default: []
|
default: []
|
||||||
mode: queued
|
mode: queued
|
||||||
max: 2
|
max: 2
|
||||||
- id: '1644532216008'
|
|
||||||
alias: Sunset Lights On - Cloudy
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: sun
|
|
||||||
event: sunset
|
|
||||||
offset: -01:00
|
|
||||||
condition:
|
|
||||||
- condition: state
|
|
||||||
entity_id: group.family
|
|
||||||
state: home
|
|
||||||
- condition: not
|
|
||||||
conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: weather.stratton_ave
|
|
||||||
state: Sunny
|
|
||||||
action:
|
|
||||||
- service: light.turn_on
|
|
||||||
target:
|
|
||||||
entity_id:
|
|
||||||
- light.living_room_lights
|
|
||||||
- light.mud_room_overhead
|
|
||||||
data: {}
|
|
||||||
mode: single
|
|
||||||
- id: '1645738561470'
|
- id: '1645738561470'
|
||||||
alias: Cast to Basement TV
|
alias: Cast to Basement TV
|
||||||
description: ''
|
description: ''
|
||||||
@ -882,117 +413,3 @@
|
|||||||
dashboard: lovelace
|
dashboard: lovelace
|
||||||
player: media_player.basement_tv_chromecast
|
player: media_player.basement_tv_chromecast
|
||||||
view: chromecast
|
view: chromecast
|
||||||
- id: '1647303056500'
|
|
||||||
alias: Upstairs Bathroom Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_bathroom_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_bathroom_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.upstairs_bathroom_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_upstairs_bathroom
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.upstairs_bathroom_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
- id: '1647389966311'
|
|
||||||
alias: Downstairs Bathroom Scenes
|
|
||||||
description: ''
|
|
||||||
trigger:
|
|
||||||
- platform: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
condition: []
|
|
||||||
action:
|
|
||||||
- choose:
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
state: Bright
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.downstairs_bathroom_bright
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
state: Dimmed
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.downstairs_bathroom_dimmed
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
state: Nightlight
|
|
||||||
sequence:
|
|
||||||
- service: scene.turn_on
|
|
||||||
data: {}
|
|
||||||
target:
|
|
||||||
entity_id: scene.downstairs_bathroom_nightlight
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
state: Adaptive
|
|
||||||
sequence:
|
|
||||||
- service: adaptive_lighting.apply
|
|
||||||
data:
|
|
||||||
entity_id: switch.adaptive_lighting_downstairs_bathroom
|
|
||||||
- conditions:
|
|
||||||
- condition: state
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
state: Reset
|
|
||||||
sequence:
|
|
||||||
- service: input_select.select_option
|
|
||||||
data:
|
|
||||||
option: Adaptive
|
|
||||||
target:
|
|
||||||
entity_id: input_select.downstairs_bathroom_scenes
|
|
||||||
default: []
|
|
||||||
mode: queued
|
|
||||||
max: 2
|
|
||||||
|
Reference in New Issue
Block a user