diff --git a/templates/definition/meter/fronius-ohmpilot.yaml b/templates/definition/meter/fronius-ohmpilot.yaml index 959569566..a287f84e4 100644 --- a/templates/definition/meter/fronius-ohmpilot.yaml +++ b/templates/definition/meter/fronius-ohmpilot.yaml @@ -18,7 +18,7 @@ render: | power: source: http uri: http://{{ .host }}/solar_api/v1/GetPowerFlowRealtimeData.fcgi - jq: if .Body.Data.Smartloads.Ohmpilots."{{ .key }}".P_AC_Total == null then 0 else .Body.Data.Smartloads.Ohmpilots."{{ .key }}".P_AC_Total * -1 end + jq: if .Body.Data.Smartloads.Ohmpilots."{{ .key }}".P_AC_Total == null then 0 else .Body.Data.Smartloads.Ohmpilots."{{ .key }}".P_AC_Total end soc: source: http uri: http://{{ .host }}/solar_api/v1/GetPowerFlowRealtimeData.fcgi