From c250db71706706b7e097e463e0cd56b8997a8c4e Mon Sep 17 00:00:00 2001 From: RafAustralia <168625844+RafAustralia@users.noreply.github.com> Date: Wed, 2 Oct 2024 00:12:39 +1000 Subject: [PATCH] Remove *|int* from total consumed energy (#353) --- modbus_sungrow.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/modbus_sungrow.yaml b/modbus_sungrow.yaml index f674ff0..534e21d 100644 --- a/modbus_sungrow.yaml +++ b/modbus_sungrow.yaml @@ -1,7 +1,7 @@ # Home Assistant Sungrow inverter integration # https://github.com/mkaiser/Sungrow-SHx-Inverter-Modbus-Home-Assistant # by Martin Kaiser -# last update: 2024-09-30 (2) +# last update: 2024-10-01 # # Note: This YAML file will only work with Home Assistant >= 2023.10 @@ -2428,7 +2428,7 @@ template: + states('sensor.daily_imported_energy')|float - states('sensor.daily_battery_charge')|float + states('sensor.daily_battery_discharge')|float - ) + ) }} - name: Total consumed energy @@ -2452,7 +2452,7 @@ template: + states('sensor.total_imported_energy')|float - states('sensor.total_battery_charge')|float + states('sensor.total_battery_discharge')|float - )|int + ) }} # getting input for Min and Max SoC