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:
1 parent
bc5a2da7b7
commit
f12bd7ad99
5 files changed
+15
-5
No files matched your search
@@ -53,6 +53,8 @@ def add_entities(controller, async_add_entities):
|
||||
class UniFiBandwidthSensor(UniFiClient):
|
||||
"""UniFi bandwidth sensor base class."""
|
||||
|
||||
DOMAIN = DOMAIN
|
||||
|
||||
@property
|
||||
def name(self) -> str:
|
||||
"""Return the name of the client."""
|
||||
|
||||
Reference in new issue
Block a user