Skip to content

Commit

Permalink
fix: customize energy total
Browse files Browse the repository at this point in the history
  • Loading branch information
TribuneX committed Apr 19, 2024
1 parent 9ae8c7a commit d9141c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/sensors.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
{% endif %}
# energy
energy_all:
energy_all_total:
unit_of_measurement: "kWh"
value_template: "{{ (states('sensor.energy_all_total_wh')|float / 1000 ) | round(1) }}"
device_class: energy
Expand Down

0 comments on commit d9141c3

Please sign in to comment.