diff --git a/Energy_Pie/module.php b/Energy_Pie/module.php index 561d578..a1b14a6 100644 --- a/Energy_Pie/module.php +++ b/Energy_Pie/module.php @@ -147,7 +147,8 @@ class Energy_Pie extends IPSModule ] ]; - $this->UpdateVisualizationValue($payload); + $this->UpdateVisualizationValue(json_encode($payload, JSON_THROW_ON_ERROR)); + } private function getRange(string $range, string $dateYmd): array