hi,
idea: turn off lights X minutes after the aqara’s motion sensor (via zigbee2mqtt) stops detecting any motion.
this trigger:
platform: state
entity_id: binary_sensor.sensor_motion_wardrobe_occupancy
to: 'off'
for: 'minutes: 2'
never fires the automation.
however, the simple:
platform: state
entity_id: binary_sensor.sensor_motion_wardrobe_occupancy
to: 'off'
launches the action as expected as the motion is no longer detected.
any clue what is wrong?
regards,
Pavel