mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 01:06:52 +00:00
Update solaredge.markdown (#23273)
This commit is contained in:
parent
3b16c5b496
commit
bc37708fd5
@ -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
|
# Example configuration.yaml entry for template platform
|
||||||
template:
|
template:
|
||||||
- sensor:
|
- 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) }}"
|
state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user