『瀚思彼岸』» 智能家居技术论坛

 找回密码
 立即注册
查看: 1196|回复: 0

[求助] 使用中弘插件错误

[复制链接]

2

主题

37

帖子

447

积分

中级会员

Rank: 3Rank: 3

积分
447
金钱
410
HASS币
0
发表于 2022-7-24 00:31:59 来自手机 | 显示全部楼层 |阅读模式
以下是错误日志:
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'
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-25 19:23 , Processed in 0.235572 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表