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 initialization issue for heater device type due to missing state … #3

Merged
merged 1 commit into from
Mar 16, 2023

Conversation

diricxbart
Copy link

@diricxbart diricxbart commented Mar 14, 2023

Heater devices have issues with initialization. This is caused by the HomeWizardClimateDeviceState being constructed from a dict with missing keys. This PR populates those entries using the default value.

This is based on this PR on the original mepla repo: https://github.com/mepla/homewizard-climate-websocket/pull/2/commits
But with some edits to actually make the suggested changes work (probably a line of code missing in the commit: there was a state variable used but never created)

Please approve this PR, bump package version and bump requirements in https://github.com/dennis1804/homewizard-climate-hass as well.

@dennis1804 dennis1804 merged commit 9c9bfdf into dennis1804:forked Mar 16, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants