mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-21 08:16:53 +00:00
Update solaredge_local.markdown (#9878)
* Update solaredge_local.markdown
Remove sensors: section head. This is an incorrect section header. Adding the platform as a list item so new users can copy and paste into existing sensor sections.
* ✏️ Tweak
This commit is contained in:
parent
641147bb18
commit
d680daeddd
@ -58,11 +58,11 @@ In case you would like to convert the values for example to kWh instead of the d
|
|||||||
|
|
||||||
{% raw %}
|
{% raw %}
|
||||||
```yaml
|
```yaml
|
||||||
# Example configuration.yaml entry for template platform
|
# Example configuration.yaml entry for sensor template platform
|
||||||
sensors:
|
sensor:
|
||||||
platform: template
|
- platform: template
|
||||||
sensors:
|
sensors:
|
||||||
solaredge_energy_this_year_template:
|
solaredge_energy_this_year_template:
|
||||||
value_template: '{{(states('sensor.solaredge_energy_this_year') | float / 1000) | round(2)}}'
|
value_template: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
|
||||||
```
|
```
|
||||||
{% endraw %}
|
{% endraw %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user