kuzjka / lighthouse-community

Power line status reporting service
0 stars 0 forks source link

Sensor reports are not processed if state is on #26

Closed kuzjka closed 1 week ago

kuzjka commented 1 week ago

If last state is 'on' - further reports are not taken into account, i.e. timestamp is not updated.

Reproduction scenario: Assume check rate is 30s, timeout is 60s, initial state is 'on'

Expected behavior: Last report was 35 seconds ago, so no power off event is expected.

Actual behavior: Power off event is fired.