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

Flush print #122

Merged
merged 3 commits into from
Jan 30, 2025
Merged

Flush print #122

merged 3 commits into from
Jan 30, 2025

Conversation

Meatballs1
Copy link
Collaborator

Log messages appeared to be delayed due to buffering of the print() method in threads. This ensures that all prints from hc2mqtt are flushed when received.

This also reduces duplication and allows a single function to standardise log format.

Also updated addon version for previous fix around device features name key errors.

@Meatballs1 Meatballs1 merged commit 7ccc321 into hcpy2-0:main Jan 30, 2025
2 checks passed
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