diff --git a/custom_components/ocpp/api.py b/custom_components/ocpp/api.py index 07e2a171..e408d553 100644 --- a/custom_components/ocpp/api.py +++ b/custom_components/ocpp/api.py @@ -716,7 +716,7 @@ def process_phases(self, data): + value[Phase.l2.value] + value[Phase.l3.value] ) - self._metrics[metric] = round(sum, 1) + self._metrics[metric] = round(sum, 1) self._extra_attr[metric] = value @on(Action.MeterValues)