Skip to content

Commit

Permalink
rc2
Browse files Browse the repository at this point in the history
  • Loading branch information
skipperro committed Aug 28, 2022
1 parent 4176767 commit e2f799d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/enpal/sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit e2f799d

Please sign in to comment.