Skip to content

Add support for cold water (KW01) cost type #5

Description

@Svetlinski1985

My Munich portal (nutzerportal.brunata-muenchen.de) meters heating (HZ01) and cold water (KW01), but not hot water. The integration only creates sensors for HZ01 — no entities are generated for KW01, even though the data is available in the portal.
Evidence that KW01 exists

The dashboard_perioden sensor lists both cost types for every period:

periods:

  • from: /Date(1767225600000)/
    to: /Date(1785456000000)/
    cost_types:
    • HZ01
    • KW01

... same for all older periods

All generated sensors, however, only carry cost_type: HZ01.

Expected behavior:
Sensors should be created for every cost type returned by the portal, including KW01 (cold water), analogous to the existing HZ01 / WW01 handling. Cold water is typically reported in m³ rather than kWh.

Notes:
The underlying brunata-nutzerportal-api ReadingKind enum appears to define only heating and hot_water; a cold_water / KW kind may need to be added there as well.
Environment
Portal: Munich (nutzerportal.brunata-muenchen.de, SAP client 201)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions