From a39daa8986aaddfcccc09897580a731c72e6143d Mon Sep 17 00:00:00 2001 From: Jonah Duckles Date: Tue, 14 Nov 2023 09:20:56 +1300 Subject: [PATCH] Quotes needed in templates for sensor names (#29832) --- source/_integrations/fronius.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/_integrations/fronius.markdown b/source/_integrations/fronius.markdown index b798c1afb0a..b88b13f87ef 100644 --- a/source/_integrations/fronius.markdown +++ b/source/_integrations/fronius.markdown @@ -93,7 +93,7 @@ Recommended energy dashboard configuration for meter location in feed in path: Recommended energy dashboard configuration for meter location in consumption path: -- The `Power grid` entity provided by the Fronius API is positive on import and negative on export. Split it up into import- and export-power entities by using helpers with templates `max(states(sensor.solarnet_power_grid) | float, 0)` and `max(0 - states(sensor.solarnet_power_grid) | float, 0)`. +- The `Power grid` entity provided by the Fronius API is positive on import and negative on export. Split it up into import- and export-power entities by using helpers with templates `max(states('sensor.solarnet_power_grid') | float, 0)` and `max(0 - states('sensor.solarnet_power_grid') | float, 0)`. - Then use [Riemann sum](/integrations/integration/) to integrate these import-/export-power entities into energy values (kWh). - Use these energy entities for `Grid consumption` and `Return to grid` in the energy dashboard configuration.