From 51d041925383e3622fddbfbb973b8fb10b24e8d0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Weber?= <61917847+juergen-weber@users.noreply.github.com> Date: Mon, 23 Jun 2025 14:11:07 +0200 Subject: [PATCH] Sax: fix battery control(#22000) Co-authored-by: andig --- templates/definition/meter/sax.yaml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/templates/definition/meter/sax.yaml b/templates/definition/meter/sax.yaml index 82bc109b1..d8be36db4 100644 --- a/templates/definition/meter/sax.yaml +++ b/templates/definition/meter/sax.yaml @@ -77,7 +77,7 @@ render: | register: address: 43 # 2Bh battery discharging power [W] type: writemultiple - encoding: uint32 + encoding: uint16 - case: 2 # holding mode puts discharge to 0W set: source: const @@ -88,6 +88,6 @@ render: | register: address: 43 # 2Bh battery discharging power [W] type: writemultiple - encoding: uint32 + encoding: uint16 capacity: {{ .capacity }} # kWh {{- end }}