diff --git a/occupancy_controlled_lights.yaml b/occupancy_controlled_lights.yaml index a224060..0d6b41a 100644 --- a/occupancy_controlled_lights.yaml +++ b/occupancy_controlled_lights.yaml @@ -96,7 +96,7 @@ action: sequence: - if: - condition: template - value_template: "{{ adaptive_lighting_switch != none }}" + value_template: "{{ adaptive_lighting_switch != none and adaptive_lighting_switch != {} }}" then: - action: adaptive_lighting.apply data: