#Reset auto_off in event triggered binary_sensor

1 messages · Page 1 of 1 (latest)

regal juniper
#

Hi all,

I’m using an event (DoorBird motion) to set a binary_sensor and use it as presence for lightning at the front door, as per this example: https://www.home-assistant.io/integrations/template/#turning-an-event-into-a-trigger-based-binary-sensor

When the event fires again before the auto_off is hit, it does not extend the time.

My goal is to just add 60 seconds to the auto_off time every time motion is detected

Is this possible? How?

Home Assistant

Instructions on how to integrate Template Sensors into Home Assistant.

boreal slate
#

Mind sharing what you've got? I just double-checked w/ a simple trigger binary_sensor, and I'm observing the behavior you desire

#

Sensor stays on as long as events are received in the auto_off period

#

Sensor turns off after the period elapses following the last event

#

You're also sure the motion events don't have some type of cooldown? You should confirm they are, in fact, sending multiple times