From c640f6bdfc244d4fea528f3870167937fbc5be5b Mon Sep 17 00:00:00 2001 From: Paul Willems Date: Fri, 29 Nov 2024 11:15:34 +0100 Subject: [PATCH] Update plugin.py Fixed issue where the plugin was reporting w/h to the solar yield path in w/h while SignalK expected Joules. --- plugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin.py b/plugin.py index 1e3e51c..f4619ab 100644 --- a/plugin.py +++ b/plugin.py @@ -392,7 +392,7 @@ def transform_solar_charger_data( }, { "path": f"electrical.solar.{id_}.yieldToday", - "value": data.get_yield_today(), + "value": data.get_yield_today() * 3600, // SignalK expects Joules }, ]