mirror of
https://github.com/tomaae/homeassistant-mikrotik_router.git
synced 2025-07-12 10:24:30 +02:00
fixed typo #265
This commit is contained in:
parent
18e0359490
commit
a7c00d8fb3
1 changed files with 1 additions and 1 deletions
|
@ -2102,7 +2102,7 @@ class MikrotikControllerData:
|
|||
|
||||
# Add hosts from DHCP
|
||||
for uid, vals in self.data["dhcp"].items():
|
||||
if not self.data["host"][uid]["source"]["enabled"]:
|
||||
if not vals["enabled"]:
|
||||
continue
|
||||
|
||||
if uid not in self.data["host"]:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue