diff --git a/custom_components/hilo/sensor.py b/custom_components/hilo/sensor.py old mode 100644 new mode 100755 index 13f2835..fd1df8e --- a/custom_components/hilo/sensor.py +++ b/custom_components/hilo/sensor.py @@ -243,7 +243,8 @@ class EnergySensor(IntegrationSensor): def __init__(self, device): self._device = device - self._attr_name = f"hilo_energy_{slugify(device.name)}" + self._attr_name = f"Hilo Energy {slugify(device.name)}" + self._attr_unique_id = f"hilo_energy_{slugify(device.name)}" self._unit_of_measurement = ENERGY_WATT_HOUR self._unit_prefix = None if device.type == "Meter":