|
发表于 2023-6-9 22:41:52
|
显示全部楼层
docker安装的
版本号:Home Assistant 2023.6.0
前端版本: 20230607.0 - latest
插件报错:正在重试设置
升级6.0之后,插件删除了,hacs装了最新版本openwrt插件
日志如下:
IndexError: list index out of range
2023-06-09 22:41:41.658 ERROR (MainThread) [custom_components.openwrt] Unexpected error fetching openwrt data: list index out of range
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 283, in _async_refresh
self.data = await self._async_update_data()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/openwrt/__init__.py", line 128, in _async_update_data
openwrtinfodata = await self._fetcher._get_openwrt_version(sysauth)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/config/custom_components/openwrt/data_fetcher.py", line 225, in _get_openwrt_version
openwrtinfo["device_name"] = re.findall(r"<meta name=\"application-name\" content=\"(.+?) - LuCI", resdata)[0]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^^
IndexError: list index out of range
|
|