@Vaskivskyi thank you for all your work on the integration!
I’ve had it working for 2 days, and then after rebooting my Home Assistant, I’m now getting errors on this only:
Logger: homeassistant.config_entries
Source: custom_components/asusrouter/bridge.py:459
Integration: AsusRouter (documentation, issues)
First occurred: 7:18:53 PM (3 occurrences)
Last logged: 7:21:22 PM
Error setting up entry 192.168.1.1 for asusrouter
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/config_entries.py", line 382, in async_setup
result = await component.async_setup_entry(hass, self)
File "/config/custom_components/asusrouter/__init__.py", line 26, in async_setup_entry
await router.setup()
File "/config/custom_components/asusrouter/router.py", line 748, in setup
await self._init_sensor_coordinators()
File "/config/custom_components/asusrouter/router.py", line 980, in _init_sensor_coordinators
available_sensors = await self.bridge.async_get_available_sensors()
File "/config/custom_components/asusrouter/bridge.py", line 241, in async_get_available_sensors
SENSORS: await self._get_sensors_ports(),
File "/config/custom_components/asusrouter/bridge.py", line 505, in _get_sensors_ports
return await self._get_sensors(
File "/config/custom_components/asusrouter/bridge.py", line 459, in _get_sensors
data = await method()
File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 1223, in async_get_ports
return await self.async_get_data(
File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 1120, in async_get_data
await self.async_monitor(_monitor)
File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 443, in async_monitor
result = process(raw, time=monitor.time)
File "/usr/local/lib/python3.10/site-packages/asusrouter/asusrouter.py", line 640, in _process_monitor_ethernet_ports
data = raw["portSpeed"]
KeyError: 'portSpeed'
Some assistant would be amazing.
Many thanks.