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

🐛 Allow to power off DHW #33

Merged
merged 1 commit into from
Oct 31, 2022
Merged

🐛 Allow to power off DHW #33

merged 1 commit into from
Oct 31, 2022

Conversation

kamaradclimber
Copy link
Owner

Before this patch, trying to stop DHW when zone heating was also stopped failed. This comes from the impossibility to disable every feature (zone heating and DHW) at the same time: there is no OperatingMode corresponding to this state.

We fix this in this patch by reusing the same logic than Zone climate entities: we can reach the target state by controlling another setting. In this case: the heatpump entire state.

Need to disable DHW seems a rare use case to me (if one uses holidays mode) but at least we now have a consistent behavior.

Fixes #30

Change-Id: I29ea322ee258e8f7f8d6656d8835a09675605141

Before this patch, trying to stop DHW when zone heating was also stopped
failed. This comes from the impossibility to disable every feature (zone
heating and DHW) at the same time: there is no OperatingMode
corresponding to this state.

We fix this in this patch by reusing the same logic than Zone climate
entities: we can reach the target state by controlling another setting.
In this case: the heatpump entire state.

Need to disable DHW seems a rare use case to me (if one uses holidays
mode) but at least we now have a consistent behavior.

Fixes #30

Change-Id: I29ea322ee258e8f7f8d6656d8835a09675605141
@kamaradclimber kamaradclimber merged commit 0cddebb into main Oct 31, 2022
@kamaradclimber kamaradclimber deleted the consistency branch October 22, 2023 18:33
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.

DHW value logic
1 participant