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:
Petro31 2019-07-17 18:10:27 -04:00 committed by Franck Nijhof
parent 641147bb18
commit d680daeddd

View File

@ -58,11 +58,11 @@ In case you would like to convert the values for example to kWh instead of the d
{% raw %}
```yaml
# Example configuration.yaml entry for template platform
sensors:
platform: template
sensors:
solaredge_energy_this_year_template:
value_template: '{{(states('sensor.solaredge_energy_this_year') | float / 1000) | round(2)}}'
# Example configuration.yaml entry for sensor template platform
sensor:
- platform: template
sensors:
solaredge_energy_this_year_template:
value_template: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}"
```
{% endraw %}