And if you are using
- platform: state
entity_id: binary_sensor.your_motion_sensor_here # change this
to: 'off'
for:
minutes: 2 # adjust as necessary
There is no need to use restart mode, single mode will do, as the trigger gets triggered ‘on’ if motion is detected within the 2 minutes of ‘off’.
If you decide to use a delay (which I do myself, as I have a stateless motion detector (which only turns on, never off), then you should use restart mode ![]()