- 积分
- 686
- 金钱
- 628
- 威望
- 0
- 贡献
- 0
- HASS币
- 0
高级会员
- 积分
- 686
- 金钱
- 628
- HASS币
- 0
|
此错误来自自定义集成。
Logger: custom_components.xiaomi_gateway3.core.gateway
Source: custom_components/xiaomi_gateway3/binary_sensor.py:111
Integration: Xiaomi Gateway 3 (documentation, issues)
First occurred: 09:12:48 (3 occurrences)
Last logged: 13:57:07
192.168.123.16 | Processing MQTT: gw/0C4314FFFE77429B/MessageReceived b'{"sourceAddress":"0xB0B9","eui64":"0x00158D000129D127","destinationEndpoint":"0x01","clusterId":"0x0500","profileId":"0x0104","sourceEndpoint":"0x01","APSCounter":"0xA9","APSPlayload":"0x195B00000000000000","rssi":-72,"linkQuality":112}'
192.168.123.16 | Processing MQTT: gw/0C4314FFFE77429B/MessageReceived b'{"sourceAddress":"0xB0B9","eui64":"0x00158D000129D127","destinationEndpoint":"0x01","clusterId":"0x0500","profileId":"0x0104","sourceEndpoint":"0x01","APSCounter":"0xAB","APSPlayload":"0x195D00000000000000","rssi":-67,"linkQuality":132}'
192.168.123.16 | Processing MQTT: gw/0C4314FFFE77429B/MessageReceived b'{"sourceAddress":"0xB0B9","eui64":"0x00158D000129D127","destinationEndpoint":"0x01","clusterId":"0x0500","profileId":"0x0104","sourceEndpoint":"0x01","APSCounter":"0xB0","APSPlayload":"0x196200000000000000","rssi":-66,"linkQuality":136}'
Traceback (most recent call last):
File "/config/custom_components/xiaomi_gateway3/core/gateway/__init__.py", line 155, in mqtt_message
await self.dispatcher_send(SIGNAL_MQTT_PUB, msg=msg)
File "/config/custom_components/xiaomi_gateway3/core/gateway/base.py", line 109, in dispatcher_send
await handler(**kwargs)
File "/config/custom_components/xiaomi_gateway3/core/gateway/silabs.py", line 37, in silabs_mqtt_publish
await self.silabs_process_recv(msg.json)
File "/config/custom_components/xiaomi_gateway3/core/gateway/silabs.py", line 81, in silabs_process_recv
device.update(payload)
File "/config/custom_components/xiaomi_gateway3/core/device.py", line 420, in update
entity.async_set_state(value)
File "/config/custom_components/xiaomi_gateway3/binary_sensor.py", line 111, in async_set_state
assert data[self.attr] is True
AssertionError
|
|