Migrate Venstar to has entity name (#99013)
This commit is contained in:
parent
5ec645161d
commit
202b0b5300
4 changed files with 13 additions and 11 deletions
|
@ -37,7 +37,7 @@ class VenstarBinarySensor(VenstarEntity, BinarySensorEntity):
|
|||
super().__init__(coordinator, config)
|
||||
self.alert = alert
|
||||
self._attr_unique_id = f"{config.entry_id}_{alert.replace(' ', '_')}"
|
||||
self._attr_name = f"{self._client.name} {alert}"
|
||||
self._attr_name = alert
|
||||
|
||||
@property
|
||||
def is_on(self):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue