Skip to content

Conversation

@lackas
Copy link
Contributor

@lackas lackas commented Feb 10, 2026

Add getDomesticHotWaterOperatingModes() and getDomesticHotWaterActiveOperatingMode() to HeatingDevice.

These complement the existing setDomesticHotWaterOperatingMode() setter (added in #319) by providing read access to:

  • The list of available DHW operating modes (from the setMode command constraints)
  • The currently active DHW operating mode

Test coverage

Tests added for three devices with different mode sets:

Device Available modes Active mode
Vitocal 250A efficientWithMinComfort, efficient, off efficient
Vitocal 222S efficientWithMinComfort, efficient, off efficient
Vitovalor PT2 balanced, off balanced

Needed for home-assistant/core#154414 (ViCare DHW operating mode select entity).

Add getDomesticHotWaterOperatingModes() and
getDomesticHotWaterActiveOperatingMode() to HeatingDevice.

Complements existing setDomesticHotWaterOperatingMode() setter.
Tests cover Vitocal 250A, Vitocal 222S, and Vitovalor PT2
(3 different enum variants).
@CFenner
Copy link
Member

CFenner commented Feb 12, 2026

I have no DHW on my device, so I really appreciate that you dive into this all the way up to Home Assistant. The way it is currently relying on the heating circuit is, I think, no longer up to date.

Copy link
Member

@CFenner CFenner left a comment

Choose a reason for hiding this comment

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

👍

@CFenner CFenner merged commit d74ea81 into openviess:master Feb 12, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants