From 4c6f3b8a03b32c816999f114693e33374bda340d Mon Sep 17 00:00:00 2001 From: thealexproctor <53038455+thealexproctor@users.noreply.github.com> Date: Thu, 18 Jul 2019 20:39:06 +1200 Subject: [PATCH] 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)}}' * :pencil2: Tweak --- source/_components/solaredge.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_components/solaredge.markdown b/source/_components/solaredge.markdown index adf0ff5b1e5..938b73c4ce9 100644 --- a/source/_components/solaredge.markdown +++ b/source/_components/solaredge.markdown @@ -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 %}