LG Therma: map all modes (#23400)

This commit is contained in:
Max 2025-09-04 08:19:51 +02:00 • committed by GitHub
parent 065bb7ae86
commit a561bb45fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -62,9 +62,15 @@ render: |
getmode:
source: map
values:
{{ if eq .energystate "SGReady" -}} 1 {{ else if eq .energystate "IndividualEnergystate" -}} 7 {{ else -}} 1 {{- end }}: 1 # 1 Erzwungen Aus, 7 Energiesparmodus # Energiesparen
0: 2 # Auslieferzustand gesetzt
1: 1 # Erzwungen Aus
2: 2 # Normalbetrieb
{{ if eq .energystate "IndividualEnergystate" -}} 6 {{ else -}} 3 {{- end }}: 3 # 3 Ein-Empfehlung, 6 Ein-Empfehlung Schritt 1
3: 3 # Ein-Empfehlung
4: 3 # Ein-Befehl
5: 3 # Ein-Befehl (anpassbar)
6: 3 # Ein-Empfehlung (anpassbar)
7: 1 # Energiesparmodus
8: 1 # Superenergiesparmodus
get:
source: modbus
{{- include "modbus" . | indent 4 }}