Update solaredge_local.markdown (#23121)

This commit is contained in:
Alex Vermulst 2022-06-20 09:54:20 +02:00 committed by GitHub
parent 1fbe7dcab9
commit 28edfc81f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -72,7 +72,7 @@ In case you would like to convert the values for example to kWh instead of the d
# Example configuration.yaml entry for sensor template platform
template:
- sensor:
- name: solaredge_energy_this_year_template:
- name: solaredge_energy_this_year_template
state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
unit_of_measurement: "KWh"
icon: "mdi:solar-power"