Only apply adaptive lighting when switch is on

This commit is contained in:
2025-11-15 12:19:37 -08:00
parent f301d1b5e2
commit f1cd8b44b0

View File

@@ -86,7 +86,7 @@ action:
sequence:
- if:
- 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:
- action: adaptive_lighting.apply
data: