From bc37708fd5d744ef05b97bab9e98e2eadd2a7102 Mon Sep 17 00:00:00 2001 From: Andrew Rice Date: Wed, 6 Jul 2022 17:07:43 +1000 Subject: [PATCH] Update solaredge.markdown (#23273) --- source/_integrations/solaredge.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/_integrations/solaredge.markdown b/source/_integrations/solaredge.markdown index 41c102b7777..0b05eb58702 100644 --- a/source/_integrations/solaredge.markdown +++ b/source/_integrations/solaredge.markdown @@ -36,7 +36,8 @@ In case you would like to convert the values for example to kWh instead of the d # Example configuration.yaml entry for template platform template: - sensor: - - name: solaredge_energy_this_year_template: + - name: solaredge_energy_this_year_template + unit_of_measurement: kWh state: "{{ (states('sensor.solaredge_energy_this_year') | float / 1000) | round(2) }}" ```