- 积分
- 426
- 金钱
- 347
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
中级会员
- 积分
- 426
- 金钱
- 347
- HASS币
- 0
|
发表于 2023-8-24 15:28:05
|
显示全部楼层
现在用不了了,直接报错
Logger: homeassistant.loader
Source: components/zhong_hong/climate.py:8
First occurred: 15:08:27 (6 occurrences)
Last logged: 15:26:07
Unexpected exception importing platform homeassistant.components.zhong_hong.climate
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.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 8, 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'
|
|