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

Fix heater controller warning on reload #260

Merged
merged 3 commits into from
Aug 7, 2024

Conversation

duddi
Copy link
Contributor

@duddi duddi commented Aug 6, 2024

This PR addresses an issue in the HeaterHvacController where a warning was logged unnecessarily when no specific case matched for turning off the heater.
The change updates the logging to debug level and provides more context in the log message to avoid confusion.

This ensures the system behaves correctly during reloads without logging misleading warnings.

Fixes #261

@swingerman
Copy link
Owner

Could you please run black . and update this PR to pass the linter?

Update with black
@duddi
Copy link
Contributor Author

duddi commented Aug 7, 2024

Sure, now with black :)

@swingerman swingerman added the enhancement New feature or request label Aug 7, 2024
@swingerman swingerman merged commit 176b220 into swingerman:master Aug 7, 2024
4 of 5 checks passed
@duddi duddi deleted the fix-heater-controller branch August 7, 2024 08:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug on reload, (warning in log)
2 participants