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:
Robert Svensson authored and GitHub committed 2020-04-21 06:17:14 +02:00
1 parent bc5a2da7b7
commit f12bd7ad99
5 files changed
+15 -5

No files matched your search

+2
View File
@@ -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."""