以下是错误日志:
Logger: homeassistant.loader
Source: components/zhong_hong/climate.py:7
First occurred: 2022年7月23日23:47:12 (3 occurrences)
Last logged: 2022年7月23日23:49:54
Unexpected exception importing platform homeassistant.components.zhong_hong.climate
Traceback (most recent call last):
File "/usr/src/homeassistant/homeassistant/loader.py", line 618, in get_platform
cache[full_name] = self._import_platform(platform_name)
File "/usr/src/homeassistant/homeassistant/loader.py", line 635, in _import_platform
return importlib.import_module(f"{self.pkg_path}.{platform_name}")
File "/usr/local/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, 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 7, in <module>
from zhong_hong_hvac.hub import ZhongHongGateway
File "/usr/local/lib/python3.10/site-packages/zhong_hong_hvac/hub.py", line 12, in <module>
from . import helper, protocol
File "/usr/local/lib/python3.10/site-packages/zhong_hong_hvac/helper.py", line 6, in <module>
from .protocol import (AcData, AcOnline, AcStatus, ChecksumError, CtlStatus,
File "/usr/local/lib/python3.10/site-packages/zhong_hong_hvac/protocol.py", line 218, in <module>
class AcData(collections.Iterable):
AttributeError: module 'collections' has no attribute 'Iterable'