Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Commit

Permalink
Fixed Vistapool entity naming resulting in multiple entities when it …
Browse files Browse the repository at this point in the history
…should only be one.
  • Loading branch information
Thomas Linde committed May 26, 2020
1 parent cd08b2b commit 752895e
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/vistapool/vistapool_entity.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,8 @@ def unique_id(self):
@property
def device_info(self):
return {
"identifiers": {(DOMAIN, self._instrument.name)},
"name": self.name,
"identifiers": {(DOMAIN, self._instrument.pool_name)},
"manufacturer": "VistaPool",
"name": self._pool_name,
"device_type": self._component,
}

0 comments on commit 752895e

Please sign in to comment.