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

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

[求助] Homkit启动失败

[复制链接]

4

主题

15

帖子

169

积分

注册会员

Rank: 2

积分
169
金钱
154
HASS币
0
发表于 2022-3-8 22:07:12 | 显示全部楼层 |阅读模式
目前把Aqara网关绑定到了homkit上面,打算和home assistant互联,不知道是不是版本的问题失败了

代码如下:
2022-03-08 22:02:05 ERROR (MainThread) [homeassistant.loader Unexpected exception importing platform homeassistant.components.homekit_controller.config_flow
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/homeassistant/loader.py", line 566, in get_platform
    cache[full_name = self._import_platform(platform_name)
  File "/usr/local/lib/python3.10/site-packages/homeassistant/loader.py", line 583, 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 992, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  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/local/lib/python3.10/site-packages/homeassistant/components/homekit_controller/__init__.py", line 25, in <module>
    from .config_flow import normalize_hkid
  File "/usr/local/lib/python3.10/site-packages/homeassistant/components/homekit_controller/config_flow.py", line 18, in <module>
    from .connection import get_accessory_name, get_bridge_information
  File "/usr/local/lib/python3.10/site-packages/homeassistant/components/homekit_controller/connection.py", line 21, in <module>
    from .const import (
  File "/usr/local/lib/python3.10/site-packages/homeassistant/components/homekit_controller/const.py", line 51, in <module>
    CharacteristicsTypes.Vendor.CONNECTSENSE_ENERGY_WATT: "sensor",
AttributeError: type object 'CharacteristicsTypes' has no attribute 'Vendor'
2022-03-08 22:02:05 ERROR (MainThread) [homeassistant.config_entries Error occurred loading configuration flow for integration homekit_controller: Exception importing homeassistant.components.homekit_controller.config_flow

回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-26 00:55 , Processed in 0.685421 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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