Further automation adjustments RE: upstairs bathroom lighting
This commit is contained in:
@ -882,3 +882,60 @@
|
|||||||
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
|
||||||
|
@ -67,6 +67,8 @@ light:
|
|||||||
- light.hallway_overhead
|
- light.hallway_overhead
|
||||||
- light.kallen_bedroom_light
|
- light.kallen_bedroom_light
|
||||||
- light.nursery_light
|
- light.nursery_light
|
||||||
|
- light.upstairs_bathroom_left
|
||||||
|
- light.upstairs_bathroom_right
|
||||||
- platform: group
|
- platform: group
|
||||||
name: Basement Studio Lights
|
name: Basement Studio Lights
|
||||||
entities:
|
entities:
|
||||||
|
@ -15,3 +15,4 @@ Presence Simulation:
|
|||||||
- light.mud_room_overhead
|
- light.mud_room_overhead
|
||||||
- light.nursery_light
|
- light.nursery_light
|
||||||
- light.dining_room_lamp
|
- light.dining_room_lamp
|
||||||
|
- light.upstairs_bathroom_lights
|
||||||
|
@ -89,3 +89,13 @@ master_bedroom_scenes:
|
|||||||
- Reset
|
- Reset
|
||||||
initial: Adaptive
|
initial: Adaptive
|
||||||
icon: mdi:bed
|
icon: mdi:bed
|
||||||
|
upstairs_bathroom_scenes:
|
||||||
|
name: Upstairs Bathroom Scenes
|
||||||
|
options:
|
||||||
|
- Adaptive
|
||||||
|
- Bright
|
||||||
|
- Dimmed
|
||||||
|
- Nightlight
|
||||||
|
- Reset
|
||||||
|
initial: Adaptive
|
||||||
|
icon: mdi:toilet
|
||||||
|
Reference in New Issue
Block a user