Prevent spamming TV screen with notifications when lights reset
This commit is contained in:
@ -988,11 +988,11 @@ automation:
|
|||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ is_state_attr('light.living_room_lights','color_mode','color_temp') }}"
|
value_template: "{{ is_state_attr('light.living_room_lights','color_mode','color_temp') }}"
|
||||||
action:
|
action:
|
||||||
- service: input_select.select_option
|
- service: adaptive_lighting.apply
|
||||||
target:
|
|
||||||
entity_id: input_select.living_room_scenes
|
|
||||||
data:
|
data:
|
||||||
option: Adaptive
|
entity_id: switch.adaptive_lighting_living_room
|
||||||
|
adapt_brightness: "{{ is_state('switch.adaptive_lighting_adapt_brightness_living_room','on') }}"
|
||||||
|
adapt_color: "{{ is_state('switch.adaptive_lighting_adapt_color_living_room','on') }}"
|
||||||
|
|
||||||
script:
|
script:
|
||||||
adaptive_on_first_floor:
|
adaptive_on_first_floor:
|
||||||
|
Reference in New Issue
Block a user