Skip to content

Commit

Permalink
Remove *|int* from total consumed energy (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
RafAustralia authored Oct 1, 2024
1 parent 45db066 commit c250db7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions modbus_sungrow.yaml
Original file line number Diff line number Diff line change
@@ -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

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down

0 comments on commit c250db7

Please sign in to comment.