Skip to content

Commit

Permalink
IDM: add tempsource top/bottom (BC) (#19249)
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasmora authored Feb 28, 2025
1 parent b2fb1aa commit ba5e6a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/definition/charger/idm.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
choice: ["tcpip"]
- name: tempsource
type: choice
choice: ["", "warmwater", "buffer"]
choice: ["", "warmwater_top", "warmwater_bottom", "buffer"]
description:
de: "Temperaturquelle"
en: "Temperature source"
Expand Down Expand Up @@ -47,7 +47,7 @@ render: |
source: modbus
{{- include "modbus" . | indent 2 }}
register:
address: {{ if eq .tempsource "warmwater" -}} 1014 {{ else }} 1008 {{- end }} # 1014 Trinkwasser, 1008 Wärmespeicher
address: {{ if eq .tempsource "warmwater_top" -}} 1014 {{ else if eq .tempsource "warmwater_bottom" -}} 1012 {{ else }} 1008 {{- end }} # 1014 Trinkwasser Oben, 1012 Trinkwasser Unten, 1008 Wärmespeicher
type: holding
decode: float32s
{{- end }}

0 comments on commit ba5e6a0

Please sign in to comment.