diff --git a/source/_components/solaredge_local.markdown b/source/_components/solaredge_local.markdown index a2f0129e713..2e146c5c9d1 100644 --- a/source/_components/solaredge_local.markdown +++ b/source/_components/solaredge_local.markdown @@ -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 %}