From 003573f076fbc764d8530f0ebb40b14ff95c37a9 Mon Sep 17 00:00:00 2001 From: Florian Zahn Date: Sun, 10 Aug 2025 14:29:54 +0200 Subject: [PATCH] Lambda: keep "excess-parameter" for backward compatibility (#22883) --- templates/definition/charger/lambda-zewotherm.yaml | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/templates/definition/charger/lambda-zewotherm.yaml b/templates/definition/charger/lambda-zewotherm.yaml index a3d7b59f0..68d1b3a49 100644 --- a/templates/definition/charger/lambda-zewotherm.yaml +++ b/templates/definition/charger/lambda-zewotherm.yaml @@ -32,7 +32,13 @@ params: - name: phases deprecated: true - name: excess - deprecated: true + advanced: true + type: choice + choice: ["plus", "minus"] + default: "plus" + description: + de: veraltet, bei neg. E-Überschuss auf minus + en: deprecated, set for neg. e-excess to minus - name: watchdog type: duration default: 60s @@ -51,6 +57,7 @@ render: | address: 102 # PV Überschussleistung type: writemultiple # λ erwartet single value als FC16 decode: int16 + scale: {{ if eq .excess "plus" }}1{{ else }}-1{{ end }} power: source: modbus uri: {{ .host }}:{{ .port }}