UniFi config entry options (#26113)
Introduce config entry options for Unifi integration Allow configuration.yaml options to be imported to new options
This commit is contained in:
1 parent
7ab36e0381
commit
588eac82c7
12 files changed
+250
-75
No files matched your search
@@ -74,7 +74,7 @@ def update_items(controller, async_add_entities, switches, switches_off):
|
||||
devices = controller.api.devices
|
||||
|
||||
# block client
|
||||
for client_id in controller.block_clients:
|
||||
for client_id in controller.option_block_clients:
|
||||
|
||||
block_client_id = "block-{}".format(client_id)
|
||||
|
||||
|
||||
Reference in new issue
Block a user