Update solaredge.markdown (#23273)

This commit is contained in:
Andrew Rice 2022-07-06 17:07:43 +10:00 committed by GitHub
parent 3b16c5b496
commit bc37708fd5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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