From 06819fd0aac1da5e2f66e9364e86c5bc9ccee641 Mon Sep 17 00:00:00 2001 From: premultiply <4681172+premultiply@users.noreply.github.com> Date: Sat, 2 May 2026 06:09:17 +0200 Subject: [PATCH] Solis Hybrid S: fix power decoding (#29547) --- templates/definition/meter/solis-hybrid-s.yaml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/templates/definition/meter/solis-hybrid-s.yaml b/templates/definition/meter/solis-hybrid-s.yaml index 2da69b10d..f4c0e58e1 100644 --- a/templates/definition/meter/solis-hybrid-s.yaml +++ b/templates/definition/meter/solis-hybrid-s.yaml @@ -110,12 +110,14 @@ render: | power: source: calc mul: - - source: modbus - {{- include "modbus" . | indent 4 }} - register: - type: input - address: 33149 # Battery power - decode: uint32 + - source: calc + abs: + source: modbus + {{- include "modbus" . | indent 6 }} + register: + type: input + address: 33149 # Battery power + decode: int32 - source: calc add: - source: modbus