Hi Guys,
short question:
When I trigger “turn all lights on”, all of my lights, inside and outside turn on.
Unfortunatelly they keep glowing, although I have a lot of sensors, which should make them off.
Example Dachboden:
alias: Dachboden
description: ''
trigger:
- platform: state
entity_id: binary_sensor.lidl_bewegungsmelder_dachboden_ias_zone
to: 'on'
condition: []
action:
- service: light.turn_on
target:
entity_id: light.dachboden_1d40a900_level_light_color_on_off
- wait_for_trigger:
- platform: state
entity_id: binary_sensor.lidl_bewegungsmelder_dachboden_ias_zone
to: 'off'
- service: light.turn_off
target:
entity_id: light.dachboden_1d40a900_level_light_color_on_off
mode: single
The light on my loft was on the last day, because somebody said “all lights on”.
I would expect, that my occupancy sensor should turn them off automatically.
How can I solve this issue?
I assume that the state of the sensors should be checked at different times per day and not only when the state is chaning.