We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I have a mesh where does not have an entry of 'network' from ubus caused HA won't load the integration.
Log reported from HA:
2024-12-29 22:33:12.180 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [xxx] async_update_data error: 'network' Traceback (most recent call last): File "/config/custom_components/openwrt/coordinator.py", line 333, in async_update_data wireless_config = await self.discover_wireless() ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/config/custom_components/openwrt/coordinator.py", line 63, in discover_wireless network=iface['config']['network'][0]) ~~~~~~~~~~~~~~~^^^^^^^^^^^ KeyError: 'network'
I tried to remove the network entity from the dict on line 63 and temporarily fxied.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I have a mesh where does not have an entry of 'network' from ubus caused HA won't load the integration.
Log reported from HA:
2024-12-29 22:33:12.180 ERROR (MainThread) [custom_components.openwrt.coordinator] Device [xxx] async_update_data error: 'network'
Traceback (most recent call last):
File "/config/custom_components/openwrt/coordinator.py", line 333, in async_update_data
wireless_config = await self.discover_wireless()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/openwrt/coordinator.py", line 63, in discover_wireless
network=iface['config']['network'][0])
~~~~~~~~~~~~~~~^^^^^^^^^^^
KeyError: 'network'
I tried to remove the network entity from the dict on line 63 and temporarily fxied.
The text was updated successfully, but these errors were encountered: