UniFi - Fix block functionality (#32625)

* Fix block functionality

* Remove unrelated changes

* Bump dependency to v15

* Run requirement script
This commit is contained in:
Robert Svensson authored and GitHub committed 2020-03-10 18:27:25 +01:00
1 parent 0a25e86fab
commit 16d7f84be7
6 files changed
+32 -6

No files matched your search

+1 -1
View File
@@ -162,7 +162,7 @@ class UniFiController:
WIRELESS_GUEST_CONNECTED,
):
self.update_wireless_clients()
elif data.get("clients") or data.get("devices"):
elif "clients" in data or "devices" in data:
async_dispatcher_send(self.hass, self.signal_update)
@property