We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 7c1f4c1 + 8072103 commit 856fbc5Copy full SHA for 856fbc5
custom_components/openwrt/coordinator.py
@@ -55,6 +55,8 @@ async def discover_wireless(self) -> dict:
55
if item.get('disabled', False):
56
continue
57
for iface in item['interfaces']:
58
+ if 'ifname' not in iface:
59
+ continue
60
conf = dict(ifname=iface['ifname'],
61
network=iface['config']['network'][0])
62
if iface['config']['mode'] == 'ap':
0 commit comments