Fix conditional errors
This commit is contained in:
@@ -174,9 +174,8 @@ script:
|
|||||||
then:
|
then:
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
lambda: 'return id(light_is_holding);'
|
lambda: 'return !id(light_is_holding);'
|
||||||
then:
|
then:
|
||||||
- stop:
|
|
||||||
- if:
|
- if:
|
||||||
condition:
|
condition:
|
||||||
- binary_sensor.is_on: supersensor_occupancy
|
- binary_sensor.is_on: supersensor_occupancy
|
||||||
|
Reference in New Issue
Block a user