Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update last seen on network address events #1004

Merged
merged 4 commits into from
Apr 3, 2024

Conversation

deviantintegral
Copy link
Contributor

Fixes Koenkk/zigbee2mqtt#22043.

This wasn't directly caused by #992, but exposed by it because it caused the network address event to be emitted far more often. While the current code is emitting the event, it's not actually updating the last seen timestamp.

First a test, then I will push the fix to prove it actually is!

The whitespace errors could be pulled out to a separate PR - they get cleaned up automatically every time I save in my IDE, and also throw warnings when encountered during git checkout / stash operations.

@Koenkk Koenkk merged commit a45aff4 into Koenkk:master Apr 3, 2024
1 check passed
@Koenkk
Copy link
Owner

Koenkk commented Apr 3, 2024

Thanks!

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.

Enbrighten 43082 goes offline around ~10 minutes after restarting Z2M on 1.36.1
2 participants