Change living room light handling so dimmer actually matters

To be used with adaptive lighting brightness adaptation turned off except when reset
This commit is contained in:
2023-04-02 14:25:21 -04:00
parent 1367b24818
commit 7fbe7baeb7
2 changed files with 188 additions and 20 deletions

View File

@ -874,21 +874,30 @@
dimmer_device: ccc672e3d924e72a952d801736ea59d3
on_short_action: []
on_long_action:
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_adapt_brightness_living_room
- wait_template: '{{ is_state(''switch.adaptive_lighting_adapt_brightness_living_room'',''on'')
}}'
continue_on_timeout: true
timeout: 00:00:05
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.living_room_scenes
brightness_up_short_action:
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
brightness_down_short_action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
entity_id: switch.adaptive_lighting_adapt_brightness_living_room
brightness_up_short_action: []
brightness_down_short_action: []
off_short_action:
- service: input_boolean.turn_on
data: {}
@ -899,16 +908,8 @@
option: Tokyo
target:
entity_id: input_select.living_room_scenes
brightness_up_long_action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
brightness_down_long_action:
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_living_room
brightness_up_long_action: []
brightness_down_long_action: []
off_long_action:
- service: light.turn_on
data: {}
@ -923,6 +924,26 @@
data:
option: Adaptive
target:
entity_id:
- input_select.living_room_scenes
- input_select.dining_room_lamp_scenes
entity_id: input_select.dining_room_lamp_scenes
- service: switch.turn_on
data: {}
target:
entity_id: switch.adaptive_lighting_adapt_brightness_living_room
- wait_template: '{{ is_state(''switch.adaptive_lighting_adapt_brightness_living_room'',''on'')
}}'
continue_on_timeout: true
timeout: 00:00:05
- service: input_select.select_option
data:
option: Adaptive
target:
entity_id: input_select.living_room_scenes
- delay:
hours: 0
minutes: 0
seconds: 3
milliseconds: 0
- service: switch.turn_off
data: {}
target:
entity_id: switch.adaptive_lighting_adapt_brightness_living_room