UniFi Protect cleanup and enable unadopted devices (#73860)
This commit is contained in:
parent
5c5fd746fd
commit
01a9367281
24 changed files with 258 additions and 114 deletions
|
@ -103,7 +103,7 @@ class ProtectButton(ProtectDeviceEntity, ButtonEntity):
|
|||
) -> None:
|
||||
"""Initialize an UniFi camera."""
|
||||
super().__init__(data, device, description)
|
||||
self._attr_name = f"{self.device.name} {self.entity_description.name}"
|
||||
self._attr_name = f"{self.device.display_name} {self.entity_description.name}"
|
||||
|
||||
async def async_press(self) -> None:
|
||||
"""Press the button."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue