- 积分
- 221
- 金钱
- 187
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 221
- 金钱
- 187
- HASS币
- 0
|
发表于 2023-3-24 11:07:13
|
显示全部楼层
esxi+istoreos
此错误来自自定义集成。
Logger: custom_components.openwrt
Source: custom_components/openwrt/data_fetcher.py:76
Integration: openwrt (documentation)
First occurred: 10:37:35 (16 occurrences)
Last logged: 10:53:35
Unexpected error fetching openwrt data: "name='sysauth', domain=None, path=None"
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/helpers/update_coordinator.py", line 250, in _async_refresh
self.data = await self._async_update_data()
File "/config/custom_components/openwrt/__init__.py", line 123, in _async_update_data
sysauth = await self.get_access_token()
File "/config/custom_components/openwrt/__init__.py", line 112, in get_access_token
self._token = await self._fetcher._login_openwrt()
File "/config/custom_components/openwrt/data_fetcher.py", line 93, in _login_openwrt
resdata = await self._hass.async_add_executor_job(self.requestpost_cookies, url, header, body)
File "/usr/local/lib/python3.10/concurrent/futures/thread.py", line 58, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/openwrt/data_fetcher.py", line 76, in requestpost_cookies
resdata = responsedata.cookies["sysauth"]
File "/usr/local/lib/python3.10/site-packages/requests/cookies.py", line 334, in __getitem__
return self._find_no_duplicates(name)
File "/usr/local/lib/python3.10/site-packages/requests/cookies.py", line 413, in _find_no_duplicates
raise KeyError(f"name={name!r}, domain={domain!r}, path={path!r}")
KeyError: "name='sysauth', domain=None, path=None"
|
|