@@ -86,7 +86,7 @@ action:
|
|||||||
sequence:
|
sequence:
|
||||||
- if:
|
- if:
|
||||||
- condition: template
|
- condition: template
|
||||||
value_template: "{{ adaptive_lighting_switch != none and adaptive_lighting_switch != {} }}"
|
value_template: "{{ adaptive_lighting_switch != none and adaptive_lighting_switch != {} and states(adaptive_lighting_switch) == 'on' }}"
|
||||||
then:
|
then:
|
||||||
- action: adaptive_lighting.apply
|
- action: adaptive_lighting.apply
|
||||||
data:
|
data:
|
||||||
|
|||||||
Reference in New Issue
Block a user