diff --git a/custom_components/enpal/sensor.py b/custom_components/enpal/sensor.py index 575786b..5b2715e 100644 --- a/custom_components/enpal/sensor.py +++ b/custom_components/enpal/sensor.py @@ -113,7 +113,7 @@ def __init__(self, max_capacity: float): self._attr_device_info = DeviceInfo( entry_type=DeviceEntryType.SERVICE, - identifiers={(DOMAIN, 'enpal_battery_capacity_estimate')}, + identifiers={(DOMAIN, 'enpal')}, default_name="Enpal Solar Installation", default_manufacturer="Enpal", sw_version="0.1.0", @@ -184,7 +184,7 @@ def __init__(self, field: str, measurement: str, icon:str, name: str, ip: str, p self._attr_device_info = DeviceInfo( entry_type=DeviceEntryType.SERVICE, - identifiers={(DOMAIN, f'enpal_{measurement}_{field}')}, + identifiers={(DOMAIN, 'enpal')}, default_name="Enpal Solar Installation", default_manufacturer="Enpal", sw_version="0.1.0",