Skip to content

Error code 380 missing in ERROR_CODES + missing fallback for unknown codes #16

@mkaufmann0983

Description

@mkaufmann0983

Description:
First of all, thank you for maintaining this integration – it works great
and is very useful! I wanted to report a small issue I encountered after
the latest update.

  • Boiler sends error code 380, which is not defined in ERROR_CODES (const.py)
  • This caused all sensors to show "Unknown" after the update
  • Fix applied locally:
    1. Added "380" as placeholder to ERROR_CODES in const.py
    2. Added dynamic fallback in HargassnerErrorSensor.native_value (sensor.py)
      to prevent HA exceptions for any future unknown error codes

Request:

  1. Add correct description for error code 380 (see Hargassner manual)
  2. Add the dynamic fallback as permanent fix in sensor.py

Thanks again for your work on this integration!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingenhancementNew feature or request

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions