alarmo icon indicating copy to clipboard operation
alarmo copied to clipboard

Delay for triggered Sensor

Open TheRealFalseReality opened this issue 6 months ago • 6 comments

Checklist

  • [X] I checked for similar existing requests (both open and closed) before posting.
  • [X] My request is generic, other users may benefit from it too.

Proposal

It would be nice to have a delay if a binary_sensor changes state to 'on'. Like triggered alarm when sensor is on for X seconds, to prevent some false alarms (pun intended). I use a Frigate Person Occupancy sensor in hopes to only trigger the alarm when the camera detects a person, but in a certain room, a jacket can give a false positive, but only for a second or 2, but Alarmo will trigger immediately. I'm am gonna use a template helper to copy this sensor with a delay so hopefully quick state changed won't trigger the alarm.

Additional info

Now, alarm triggers as soon as sensor state is 'on'. Requests, alarm triggers when sensor is 'on' for X seconds.

TheRealFalseReality avatar Aug 19 '24 01:08 TheRealFalseReality