Skip to content

Preserve real nonzero-to-zero realtime updates#61

Open
michaelw wants to merge 1 commit intodudanov:mainfrom
michaelw:mw/zero-value-realtime-updates
Open

Preserve real nonzero-to-zero realtime updates#61
michaelw wants to merge 1 commit intodudanov:mainfrom
michaelw:mw/zero-value-realtime-updates

Conversation

@michaelw
Copy link
Copy Markdown

Zero-only realtime packets were previously treated as null packets. That dropped legitimate nonzero-to-zero transitions, which could leave Home Assistant sensors stuck on the last nonzero value.\n\nKeep suppressing likely bogus startup zero-only packets until the first nonzero realtime packet is seen, while still emitting real nonzero-to-zero transitions and deduplicating repeated zero packets.

Zero-only realtime packets were previously treated as null packets. That dropped legitimate nonzero-to-zero transitions, which could leave Home Assistant sensors stuck on the last nonzero value.\n\nKeep suppressing likely bogus startup zero-only packets until the first nonzero realtime packet is seen, while still emitting real nonzero-to-zero transitions and deduplicating repeated zero packets.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant