diff --git a/Energy_Pie/module.php b/Energy_Pie/module.php index 18cffb9..0ac8c13 100644 --- a/Energy_Pie/module.php +++ b/Energy_Pie/module.php @@ -125,7 +125,8 @@ class Energy_Pie extends IPSModule ] ]; - $this->UpdateVisualizationValue($payload); + $this->UpdateVisualizationValue(json_encode($payload, JSON_THROW_ON_ERROR)); + } /**