|
发表于 2022-1-14 13:28:00
|
显示全部楼层
新的脚本还是会报错
2022-01-14 13:26:48 ERROR (MainThread) [homeassistant.components.homekit.util] media_player.v1_cloud_911052 does not support any media_player features
2022-01-14 13:26:57 ERROR (MainThread) [custom_components.hacs] 'str' object has no attribute 'items'
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 462, in async_github_api_method
return await method(*args, **kwargs)
File "/usr/local/lib/python3.9/site-packages/aiogithubapi/namespaces/contents.py", line 62, in get
response.data = GitHubContentsModel(response.data)
File "/usr/local/lib/python3.9/site-packages/aiogithubapi/models/base.py", line 35, in __init__
for key, value in self._raw_data.items():
AttributeError: 'str' object has no attribute 'items'
2022-01-14 13:26:57 ERROR (MainThread) [homeassistant] Error doing job: Task exception was never retrieved
Traceback (most recent call last):
File "/config/custom_components/hacs/base.py", line 562, in startup_tasks
await self.async_load_default_repositories()
File "/config/custom_components/hacs/base.py", line 706, in async_load_default_repositories
for item in await self.async_github_get_hacs_default_file(HacsCategory.REMOVED):
File "/config/custom_components/hacs/base.py", line 441, in async_github_get_hacs_default_file
response = await self.async_github_api_method(
File "/config/custom_components/hacs/base.py", line 478, in async_github_api_method
raise HacsException(_exception)
custom_components.hacs.exceptions.HacsException: 'str' object has no attribute 'items' |
|