Updating template example (#9891)

* Updating template example 

There was a (') in the line '{{(states('sensor.solaredge_energy_this_year') | float / 1000) | round(2)}}'
This caused yaml issues the update is '{{(states(sensor.solaredge_energy_this_year') | float / 1000) | round(2)}}'

* ✏️ Tweak
This commit is contained in:
thealexproctor 2019-07-18 20:39:06 +12:00 committed by Franck Nijhof
parent d0385649ba
commit 4c6f3b8a03

View File

@ -127,6 +127,6 @@ sensors:
platform: template
sensors:
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 %}