Modified living room switch handling

This commit is contained in:
2023-08-09 12:46:34 -04:00
parent 2b46b813ee
commit 2cccf785e1

View File

@ -859,15 +859,41 @@
path: codycodes/hue-remote-dimmer-december-2021.yaml path: codycodes/hue-remote-dimmer-december-2021.yaml
input: input:
dimmer_device: ccc672e3d924e72a952d801736ea59d3 dimmer_device: ccc672e3d924e72a952d801736ea59d3
on_short_action: [] on_short_action:
- service: light.toggle
data: {}
target:
entity_id: light.living_room_lights
on_long_action: on_long_action:
- service: input_select.select_option - service: input_select.select_option
data: data:
option: Adaptive option: Adaptive
target: target:
entity_id: input_select.living_room_scenes entity_id: input_select.living_room_scenes
brightness_up_short_action: [] brightness_up_short_action:
brightness_down_short_action: [] - service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
alias: Adaptive Off
- service: light.turn_on
data:
brightness_step_pct: 12
target:
entity_id: light.living_room_lights
alias: Brightness Up Small
brightness_down_short_action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
alias: Adaptive Off
- service: light.turn_on
data:
brightness_step_pct: 22
target:
entity_id: light.living_room_lights
alias: Brightness Down Small
off_short_action: off_short_action:
- if: - if:
- condition: state - condition: state
@ -884,8 +910,30 @@
- light.living_room_lights - light.living_room_lights
- light.dining_room_lamp - light.dining_room_lamp
- light.tina_desk_lights - light.tina_desk_lights
brightness_up_long_action: [] brightness_up_long_action:
brightness_down_long_action: [] - service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
alias: Adaptive Off
- service: light.turn_on
data:
brightness_step_pct: -12
target:
entity_id: light.living_room_lights
alias: Brightness Up Large
brightness_down_long_action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
alias: Adaptive Off
- service: light.turn_on
data:
brightness_step_pct: -22
target:
entity_id: light.living_room_lights
alias: Brightness Down Large
off_long_action: off_long_action:
- service: light.turn_on - service: light.turn_on
data: {} data: {}