diff --git a/custom_components/hilo/managers.py b/custom_components/hilo/managers.py index e290c9f..b1baffc 100644 --- a/custom_components/hilo/managers.py +++ b/custom_components/hilo/managers.py @@ -33,7 +33,7 @@ def add_meter_entity(self, entity, tariff_list): for tarif in tariff_list: name = f"{entity}_{self.period}" LOG.debug(f"Creating UtilityMeter entity: {name} {tarif}") - self.meter_entities[entity] = { + self.meter_entities[name] = { "meter": entity, "name": f"{name} {tarif}", "tariff": tarif,