- 积分
- 240
- 金钱
- 186
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 240
- 金钱
- 186
- HASS币
- 0
|
楼主 |
发表于 2023-7-13 17:13:23
|
显示全部楼层
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 833, in get_platform
cache[full_name] = self._import_platform(platform_name)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/loader.py", line 850, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "<frozen importlib._bootstrap>", line 1204, in _gcd_import
File "<frozen importlib._bootstrap>", line 1176, in _find_and_load
File "<frozen importlib._bootstrap>", line 1147, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 690, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 940, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/usr/src/homeassistant/homeassistant/components/zhong_hong/climate.py", line 8, in <module>
from zhong_hong_hvac.hub import ZhongHongGateway
File "/usr/local/lib/python3.11/site-packages/zhong_hong_hvac/hub.py", line 12, in <module>
from . import helper, protocol
File "/usr/local/lib/python3.11/site-packages/zhong_hong_hvac/helper.py", line 6, in <module>
from .protocol import (AcData, AcOnline, AcStatus, ChecksumError, CtlStatus,
File "/usr/local/lib/python3.11/site-packages/zhong_hong_hvac/protocol.py", line 218, in <module>
class AcData(collections.Iterable):
^^^^^^^^^^^^^^^^^^^^
AttributeError: module 'collections' has no attribute 'Iterable'
2023-07-13 17:09:38.328 ERROR (MainThread) [homeassistant.components.homeassistant] The system cannot reload because the configuration is not valid: Platform error climate.zhong_hong - Exception importing homeassistant.components.zhong_hong.climate
2023-07-13 17:09:38.330 ERROR (MainThread) [homeassistant.components.websocket_api.http.connection] [140454648212176] Cannot quick reload all YAML configurations because the configuration is not valid: Platform error climate.zhong_hong - Exception importing homeassistant.components.zhong_hong.climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/components/websocket_api/commands.py", line 205, in handle_call_service
await hass.services.async_call(
File "/usr/src/homeassistant/homeassistant/core.py", line 1957, in async_call
response_data = await coro
^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/core.py", line 1997, in _execute_service
return await cast(
^^^^^^^^^^^
File "/usr/src/homeassistant/homeassistant/helpers/service.py", line 927, in admin_handler
await result
File "/usr/src/homeassistant/homeassistant/components/homeassistant/__init__.py", line 316, in async_handle_reload_all
raise HomeAssistantError(
homeassistant.exceptions.HomeAssistantError: Cannot quick reload all YAML configurations because the configuration is not valid: Platform error climate.zhong_hong - Exception importing homeassistant.components.zhong_hong.climate |
|