entity-controller
entity-controller copied to clipboard
Refresh Timer/Timeout
Description
A way that the timer/the timeout will be refreshed/set to zero, when new motion is detected:
- Motion sensor detects motion
- Light gets turned on --> 5 minute timer started (after which light will be turned off again)
- After 3 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
- After 4 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
- After 2 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
- After 4 minutes another motion gets detected --> Timer/timeout will be reset, so another 5 minutes before turning light off
- After 5 minutes the light will be turned off
During all those refreshes, the light should not be turned off.