Skip to content

Fix for on/off heatpump not switching off when required heat has been generated - #1047

Merged
corneel27 merged 5 commits into
corneel27:mainfrom
soeter01:main
Nov 13, 2026
Merged

corneel27 merged 5 commits into
corneel27:mainfrom
soeter01:main

Conversation

@soeter01

Copy link
Copy Markdown
Collaborator

No description provided.

@soeter01
soeter01 requested a review from corneel27 as a code owner November 13, 2026 15:11

@corneel27 corneel27 left a comment •

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Prima! Thanks.

@corneel27
corneel27 merged commit e8ba18d into corneel27:main Nov 13, 2026
12 checks passed
@dewi-ny-je

Copy link
Copy Markdown
Contributor

@corneel27
Found by LLM:

Heat pump handling when "hp enabled" is off. The output block now runs for hp_present without hp_enabled. When the user switches entity_hp_enabled off, DAO now turns the heat pump switch off on every run. hp_adjustment stays None in that case, which passes != "on/off", so DAO also writes 0 kW to entity_hp_power.

Before, "disabled" meant DAO left the pump alone. Now DAO overrides manual control.

The intent (switch off once enough heat has been made) is fine for the heat_needed <= 0 path. The entity_hp_enabled = off path should probably avoid changing settings.

@corneel27

Copy link
Copy Markdown
Owner

@soeter01
Did you see the comment of @dewi-ny-je ?
What is your opinion about this?
I think it is a discussion about: what is the meaning of "hp enabled=false"
For me it was: my hp is now not available for heating -> no planning
For you (in my words): it is now at the moment heat enough in the house. no direct planning

I suggest the following change:

  • we revert this change
  • we introduce a new optional entity: "hp_heat required" and the functionality of that entity is according your proposal for hp_enabled

What is your opinion?

@soeter01

soeter01 commented Nov 26, 2026 via email

Copy link
Copy Markdown
Collaborator Author

@soeter01

soeter01 commented Nov 26, 2026 via email

Copy link
Copy Markdown
Collaborator Author

@soeter01

soeter01 commented Nov 27, 2026 via email

Copy link
Copy Markdown
Collaborator Author

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.

3 participants