UniFi - Logs spam with not adding disabled entity (#34479)
* Proposed solution, unfortunately this makes the implementation less pretty * Clarify why mac is registered in init
This commit is contained in:
parent
bc5a2da7b7
commit
f12bd7ad99
5 changed files with 15 additions and 5 deletions
|
@ -36,8 +36,8 @@ class UniFiClient(UniFiBase):
|
|||
|
||||
def __init__(self, client, controller) -> None:
|
||||
"""Set up client."""
|
||||
super().__init__(controller)
|
||||
self.client = client
|
||||
super().__init__(controller)
|
||||
|
||||
self._is_wired = self.client.mac not in controller.wireless_clients
|
||||
self.is_blocked = self.client.blocked
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue