Skip to main content

Klarname Heizkreisstatus

Übersetzung der Statuscodes in Klarnamen

include_sensors/heizkreis_status.yaml

- platform: template
  sensors:
    kwb_heizkreis_klarname:
      friendly_name: "Heizkreisstatus"
      value_template: >
        {% set status = int(states('sensor.kwb_heizkreis_status_8573')) %}
        {% if status ==  0 -%}
          Absenk
        {%- elif status ==  1 -%}
          Komfort
        {%- elif status ==  2 -%}
          Frostschutz
        {%- elif status ==  3 -%}
          Urlaub
        {%- elif status ==  4 -%}
          Aus
        {%- elif status ==  5 -%}
          Estrich
        {%- elif status ==  6 -%}
          Max. Wärmeabnahme
        {%- elif status ==  7 -%}
          Max. Wärmeabnahme
        {%- elif status ==  8 -%}
          Modbus
        {%- endif %}


# hk_status_t 0   Absenk
# hk_status_t 1   Komfort
# hk_status_t 2   Frostschutz
# hk_status_t 3   Urlaub
# hk_status_t 4   Aus
# hk_status_t 5   Estrich
# hk_status_t 6   Max. Wärmeabnahme
# hk_status_t 7   Max. Wärmeabnahme
# hk_status_t 8   Modbus