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

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

[求助] 怎么ha一直在报错,有没有大佬帮忙看看怎么回事

[复制链接]

9

主题

179

帖子

1405

积分

金牌会员

Rank: 6Rank: 6

积分
1405
金钱
1226
HASS币
0
发表于 2023-3-6 20:22:44 | 显示全部楼层 |阅读模式
本帖最后由 astang 于 2023-3-6 20:28 编辑

Logger: bellows.ezsp
Source: /usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py:354
First occurred: 2023年3月4日 18:52:34 (2969 occurrences)
Last logged: 20:20:25

Exception running handler
Traceback (most recent call last):
  File "/usr/local/lib/python3.10/site-packages/bellows/ezsp/__init__.py", line 352, in handle_callback
    handler(*args)
  File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 462, in ezsp_callback_handler
    self._handle_frame(*args)
  File "/usr/local/lib/python3.10/site-packages/bellows/zigbee/application.py", line 507, in _handle_frame
    self.packet_received(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 875, in packet_received
    self.handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/application.py", line 381, in handle_message
    return sender.handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/device.py", line 370, in handle_message
    self.endpoints[src_ep].handle_message(
  File "/usr/local/lib/python3.10/site-packages/zigpy/endpoint.py", line 224, in handle_message
    handler(hdr, args, dst_addressing=dst_addressing)
  File "/usr/local/lib/python3.10/site-packages/zigpy/zcl/__init__.py", line 373, in handle_message
    self.handle_cluster_request(hdr, args, dst_addressing=dst_addressing)
  File "/usr/local/lib/python3.10/site-packages/zhaquirks/tuya/__init__.py", line 485, in handle_cluster_request
    zvalue = ztype(tuya_data)
  File "/usr/local/lib/python3.10/site-packages/zigpy/types/basic.py", line 93, in __new__
    n = super().__new__(cls, *args, **kwargs)
  File "/usr/local/lib/python3.10/site-packages/zhaquirks/tuya/__init__.py", line 253, in __int__
    return ints[self[0]].deserialize(bytes(reversed(self[1:])))[0]
KeyError: 15


回复

使用道具 举报

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

本版积分规则

Archiver|手机版|小黑屋|Hassbian

GMT+8, 2024-11-24 23:35 , Processed in 0.046828 second(s), 23 queries .

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

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