Skip to content

Commit

Permalink
Mixer entiti fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
KirilKurkianec committed Jan 30, 2024
1 parent 3383a4a commit 0689b29
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions custom_components/econet300/entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -107,11 +107,11 @@ def __init__(
def device_info(self) -> DeviceInfo | None:
"""Return device info of the entity."""
return DeviceInfo(
identifiers={(DOMAIN, f"{self._api.uid()}-mixer-{self._idx}")},
identifiers={(DOMAIN, f"{self.api.uid}-mixer-{self._idx}")},
name=f"{DEVICE_INFO_MIXER_NAME}{self._idx}",
manufacturer=DEVICE_INFO_MANUFACTURER,
model=DEVICE_INFO_MODEL,
configuration_url=self._api.host(),
sw_version=self._api.sw_rev(),
via_device=(DOMAIN, self._api.uid()),
configuration_url=self.api.host,
sw_version=self.api.sw_rev,
via_device=(DOMAIN, self.api.uid),
)

0 comments on commit 0689b29

Please sign in to comment.