Skip to content

Conversation

@lackas
Copy link

@lackas lackas commented Jan 22, 2026

Summary

Add methods for heating rod power consumption summary data points:

  • getHeatingRodPowerConsumptionSummaryDHW* (unit, currentDay/Month/Year, lastMonth/SevenDays/Year)
  • getHeatingRodPowerConsumptionSummaryHeating* (unit, currentDay/Month/Year, lastMonth/SevenDays/Year)

These methods expose heating.heatingRod.power.consumption.summary.dhw and heating.heatingRod.power.consumption.summary.heating API features, which provide detailed power consumption breakdowns for the heating rod.

Closes #677

Test plan

  • Added tests in test_Vitocal250A.py for all new methods
  • Removed features from test_TestForMissingProperties.py ignore list
  • All tests pass locally

…uits for Vitocal 300-G

Add comprehensive support for heat pump features found on Vitocal 300-G (CU401B):

HeatPump class:
- COP methods: getCoefficientOfPerformanceHeating/DHW/Total/Cooling/Green
- Compressor: getPower, getPowerUnit, getModulation, getModulationUnit
- Pressure sensors: getHotGasPressure, getSuctionGasPressure (with units)
- Temperature sensors: getHotGasTemperature, getLiquidGasTemperature, getSuctionGasTemperature
- Runtime: getMainECURuntime, getHeatingRodRuntimeLevelOne/Two
- Configuration: buffer temp max, damping factor, heater approvals
- New CoolingCircuit class with getType, getReverseActive

HeatingDevice class:
- Primary circuit pump: getPrimaryCircuitPumpRotation (with unit)
- Circuit temperature: getTemperature
- Fallback paths for hotWaterStorage vs dhwCylinder naming variants

Compressor class:
- Load class methods now support fallback to statistics.load path

Includes test file and response data for Vitocal300G_CU401B device.
Add methods for heating rod power consumption summary data points:
- getHeatingRodPowerConsumptionSummaryDHW* (unit, currentDay/Month/Year, lastMonth/SevenDays/Year)
- getHeatingRodPowerConsumptionSummaryHeating* (unit, currentDay/Month/Year, lastMonth/SevenDays/Year)

These methods expose heating.heatingRod.power.consumption.summary.dhw and
heating.heatingRod.power.consumption.summary.heating API features, which
provide detailed power consumption breakdowns for the heating rod.

Closes openviess#677
"value"]
"""Get DHW storage temperature. Tries 'hotWaterStorage' path first, then 'dhwCylinder'."""
with suppress(KeyError):
return self.getProperty("heating.dhw.sensors.temperature.hotWaterStorage")["properties"]["value"]["value"]
Copy link
Member

Choose a reason for hiding this comment

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

These data point have been deprecated for some time (2024) and removed from the library last year. I wonder why these show up again in your system.

Revert DHW temperature methods to use only the current dhwCylinder
API paths. The hotWaterStorage paths were deprecated in 2024 and
should not be reintroduced.
@lackas
Copy link
Author

lackas commented Jan 22, 2026

Thanks for flagging this! Same issue as in #688 - my device exposes both heating.buffer.* and heating.bufferCylinder.* paths with identical values, so I added a fallback without realizing heating.buffer.* is deprecated.

Removed the fallback and reverted to using only bufferCylinder in bd628a1.

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.

Feature Request: Power Consumtion of Vitocal 250

2 participants