Files
hapz2m/s_motion_sensor.go
Darell Tan 9eeab32c8a Added delayed-off for motion sensors
This ensures that the "motion detected" event doesn't flip flop, even if
the motion sensor itself was set to a low timeout like 10-30s. It stays
in the Detected state until no further detections occur within the
timeout period (hardcoded to 1 minute).
2024-11-24 16:03:24 +08:00

1.5 KiB