gorstj

Untitled

Dec 3rd, 2023 (edited)
117
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 114.38 KB | None | 0 0
  1. 2023-12-03 08:16:05.486 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=10787490, TSN=0, Data=b'\x09\x32\x02\x00\x4B\x14\x02\x00\x04\x88\x19\x0F\x11', MacSrcAddr=0x0C96, MsgResultRadius=29)
  2. 2023-12-03 08:16:05.487 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 5, 487072, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t2\x02\x00K\x14\x02\x00\x04\x88\x19\x0f\x11'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=54, rssi=None)
  3. 2023-12-03 08:16:05.487 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t2\x02\x00K\x14\x02\x00\x04\x88\x19\x0f\x11'
  4. 2023-12-03 08:16:05.488 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=50, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  5. 2023-12-03 08:16:05.489 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=75, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x11', *payload=-2011623663))]))
  6. 2023-12-03 08:16:05.489 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 50): set_data_response(data=TuyaCommand(status=0, tsn=75, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x11', *payload=-2011623663))]))
  7. 2023-12-03 08:16:05.489 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x11', *payload=-2011623663))
  8. 2023-12-03 08:16:05.490 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=50, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  9. 2023-12-03 08:16:05.491 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  10. 2023-12-03 08:16:05.491 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 5, 491463, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=50, profile_id=260, cluster_id=61184, data=Serialized[b'\x182\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  11. 2023-12-03 08:16:05.492 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=50, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x32\x0B\x02\x86')
  12. 2023-12-03 08:16:05.492 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591365.487072, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  13. 2023-12-03 08:16:05.493 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591365.487072, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  14. 2023-12-03 08:16:05.497 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  15. 2023-12-03 08:16:05.497 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  16. 2023-12-03 08:16:05.503 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  17. 2023-12-03 08:16:05.530 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=50)
  18. 2023-12-03 08:16:05.787 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=61, SecurityUse=<Bool.false: 0>, TimeStamp=10806294, TSN=0, Data=b'\x09\x5B\x02\x00\xCA\x14\x02\x00\x04\xEB\x2D\x27\x46', MacSrcAddr=0xE84B, MsgResultRadius=29)
  19. 2023-12-03 08:16:05.788 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 5, 788006, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b"\t[\x02\x00\xca\x14\x02\x00\x04\xeb-'F"], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=61, rssi=None)
  20. 2023-12-03 08:16:05.788 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b"\t[\x02\x00\xca\x14\x02\x00\x04\xeb-'F"
  21. 2023-12-03 08:16:05.789 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=91, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  22. 2023-12-03 08:16:05.789 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=202, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'F", *payload=-349362362))]))
  23. 2023-12-03 08:16:05.790 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 91): set_data_response(data=TuyaCommand(status=0, tsn=202, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'F", *payload=-349362362))]))
  24. 2023-12-03 08:16:05.790 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'F", *payload=-349362362))
  25. 2023-12-03 08:16:05.791 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=91, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  26. 2023-12-03 08:16:05.791 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  27. 2023-12-03 08:16:05.792 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 5, 792338, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=91, profile_id=260, cluster_id=61184, data=Serialized[b'\x18[\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  28. 2023-12-03 08:16:05.793 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=91, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x5B\x0B\x02\x86')
  29. 2023-12-03 08:16:05.794 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591365.788006, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  30. 2023-12-03 08:16:05.794 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591365.788006, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  31. 2023-12-03 08:16:05.795 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  32. 2023-12-03 08:16:05.795 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  33. 2023-12-03 08:16:05.804 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  34. 2023-12-03 08:16:05.830 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=91)
  35. 2023-12-03 08:16:06.293 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4C96](S26R2ZB): last_seen is 16734174.732299328 seconds ago and ping attempts have been exhausted, marking the device unavailable
  36. 2023-12-03 08:16:06.293 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x4C96](S26R2ZB): Update device availability - device available: False - new availability: False - changed: False
  37. 2023-12-03 08:16:06.345 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: setting transitioning flag to True
  38. 2023-12-03 08:16:06.346 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
  39. 2023-12-03 08:16:06.346 DEBUG (MainThread) [zigpy.zcl] [0xE84B:2:0x0006] Setting the NO manufacturer id in command: 1
  40. 2023-12-03 08:16:06.346 DEBUG (MainThread) [zigpy.zcl] [0xE84B:2:0x0006] Sending Tuya Cluster Command... Cluster Command is 1, Arguments are ()
  41. 2023-12-03 08:16:06.346 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=2, cluster_name='on_off', cluster_attr='on_off', attr_value=True, expect_reply=True, manufacturer=-1)
  42. 2023-12-03 08:16:06.347 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] get_dp_mapping --> found DP: 7
  43. 2023-12-03 08:16:06.347 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] from_cluster_data: {7: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', converter=None, dp_converter=None, endpoint_id=2)}
  44. 2023-12-03 08:16:06.347 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] value: True
  45. 2023-12-03 08:16:06.347 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] raw: b'\x01'
  46. 2023-12-03 08:16:06.347 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=158, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
  47. 2023-12-03 08:16:06.348 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: received onoff True while transitioning - skipping update
  48. 2023-12-03 08:16:06.348 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: handling color commands after turning on/level
  49. 2023-12-03 08:16:06.348 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: starting transitioning timer for 1.25
  50. 2023-12-03 08:16:06.348 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>)}
  51. 2023-12-03 08:16:06.349 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: setting transitioning flag to True
  52. 2023-12-03 08:16:06.349 DEBUG (MainThread) [zigpy.util] Tries remaining: 3
  53. 2023-12-03 08:16:06.352 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0x0006] Setting the NO manufacturer id in command: 1
  54. 2023-12-03 08:16:06.352 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0x0006] Sending Tuya Cluster Command... Cluster Command is 1, Arguments are ()
  55. 2023-12-03 08:16:06.353 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] tuya_mcu_command: cluster_data=TuyaClusterData(endpoint_id=1, cluster_name='on_off', cluster_attr='on_off', attr_value=True, expect_reply=True, manufacturer=-1)
  56. 2023-12-03 08:16:06.353 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] get_dp_mapping --> found DP: 1
  57. 2023-12-03 08:16:06.353 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] from_cluster_data: {1: DPToAttributeMapping(ep_attribute='on_off', attribute_name='on_off', converter=None, dp_converter=None, endpoint_id=None)}
  58. 2023-12-03 08:16:06.353 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] value: True
  59. 2023-12-03 08:16:06.354 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] raw: b'\x01'
  60. 2023-12-03 08:16:06.354 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] tuya_commands: [TuyaCommand(status=0, tsn=159, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))])]
  61. 2023-12-03 08:16:06.354 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: received onoff True while transitioning - skipping update
  62. 2023-12-03 08:16:06.354 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: handling color commands after turning on/level
  63. 2023-12-03 08:16:06.354 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: starting transitioning timer for 1.25
  64. 2023-12-03 08:16:06.355 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: turned on: {'on_off': Default_Response(command_id=1, status=<Status.SUCCESS: 0>)}
  65. 2023-12-03 08:16:06.356 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=160, command_id=0, *direction=<Direction.Server_to_Client: 0>)
  66. 2023-12-03 08:16:06.356 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=158, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  67. 2023-12-03 08:16:06.357 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 357580, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=160, profile_id=260, cluster_id=61184, data=Serialized[b'\x01\xa0\x00\x00\x9e\x07\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  68. 2023-12-03 08:16:06.358 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': True, 'timestamp': 1701591366.348171, 'min_update_delta': 30.0})
  69. 2023-12-03 08:16:06.359 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': True, 'timestamp': 1701591366.348171, 'min_update_delta': 30.0}) completed
  70. 2023-12-03 08:16:06.365 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=161, command_id=0, *direction=<Direction.Server_to_Client: 0>)
  71. 2023-12-03 08:16:06.365 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending request: set_data(data=TuyaCommand(status=0, tsn=159, datapoints=[TuyaDatapointData(dp=1, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  72. 2023-12-03 08:16:06.366 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 366103, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=161, profile_id=260, cluster_id=61184, data=Serialized[b'\x01\xa1\x00\x00\x9f\x01\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  73. 2023-12-03 08:16:06.367 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=160, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x01\xA0\x00\x00\x9E\x07\x01\x00\x01\x01')
  74. 2023-12-03 08:16:06.373 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  75. 2023-12-03 08:16:06.374 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  76. 2023-12-03 08:16:06.381 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  77. 2023-12-03 08:16:06.382 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=161, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x01\xA1\x00\x00\x9F\x01\x01\x00\x01\x01')
  78. 2023-12-03 08:16:06.382 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 1, 'cluster_id': 6, 'attrid': 0, 'value': True, 'timestamp': 1701591366.354583, 'min_update_delta': 30.0})
  79. 2023-12-03 08:16:06.383 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 1, 'cluster_id': 6, 'attrid': 0, 'value': True, 'timestamp': 1701591366.354583, 'min_update_delta': 30.0}) completed
  80. 2023-12-03 08:16:06.384 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  81. 2023-12-03 08:16:06.385 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  82. 2023-12-03 08:16:06.385 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=160)
  83. 2023-12-03 08:16:06.391 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  84. 2023-12-03 08:16:06.392 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6FDC](TS0202): Device seen - marking the device available and resetting counter
  85. 2023-12-03 08:16:06.392 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x6FDC](TS0202): Update device availability - device available: True - new availability: True - changed: False
  86. 2023-12-03 08:16:06.403 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=65, SecurityUse=<Bool.false: 0>, TimeStamp=10844671, TSN=0, Data=b'\x18\xA0\x0B\x00\x00', MacSrcAddr=0xE84B, MsgResultRadius=29)
  87. 2023-12-03 08:16:06.404 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 404205, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\x18\xa0\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=65, rssi=None)
  88. 2023-12-03 08:16:06.405 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b'\x18\xa0\x0b\x00\x00'
  89. 2023-12-03 08:16:06.405 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=160, command_id=11, *direction=<Direction.Client_to_Server: 1>)
  90. 2023-12-03 08:16:06.405 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
  91. 2023-12-03 08:16:06.407 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.404205, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  92. 2023-12-03 08:16:06.407 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.404205, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  93. 2023-12-03 08:16:06.411 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  94. 2023-12-03 08:16:06.412 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  95. 2023-12-03 08:16:06.429 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=65, SecurityUse=<Bool.false: 0>, TimeStamp=10845964, TSN=0, Data=b'\x18\xA1\x0B\x00\x00', MacSrcAddr=0xE84B, MsgResultRadius=29)
  96. 2023-12-03 08:16:06.430 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 430917, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\x18\xa1\x0b\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=65, rssi=None)
  97. 2023-12-03 08:16:06.431 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b'\x18\xa1\x0b\x00\x00'
  98. 2023-12-03 08:16:06.432 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=161, command_id=11, *direction=<Direction.Client_to_Server: 1>)
  99. 2023-12-03 08:16:06.432 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:Default_Response(command_id=0, status=<Status.SUCCESS: 0>)
  100. 2023-12-03 08:16:06.433 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.430917, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  101. 2023-12-03 08:16:06.434 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.430917, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  102. 2023-12-03 08:16:06.435 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x83F7](BASICZBR3): Device seen - marking the device available and resetting counter
  103. 2023-12-03 08:16:06.435 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0x83F7](BASICZBR3): Update device availability - device available: True - new availability: True - changed: False
  104. 2023-12-03 08:16:06.436 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  105. 2023-12-03 08:16:06.437 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  106. 2023-12-03 08:16:06.457 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=161)
  107. 2023-12-03 08:16:06.488 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=10850126, TSN=0, Data=b'\x09\x33\x02\x00\x4C\x14\x02\x00\x04\x88\x19\x0F\x10', MacSrcAddr=0x0C96, MsgResultRadius=29)
  108. 2023-12-03 08:16:06.489 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 489047, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t3\x02\x00L\x14\x02\x00\x04\x88\x19\x0f\x10'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=54, rssi=None)
  109. 2023-12-03 08:16:06.489 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t3\x02\x00L\x14\x02\x00\x04\x88\x19\x0f\x10'
  110. 2023-12-03 08:16:06.490 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=51, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  111. 2023-12-03 08:16:06.490 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x10', *payload=-2011623664))]))
  112. 2023-12-03 08:16:06.491 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 51): set_data_response(data=TuyaCommand(status=0, tsn=76, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x10', *payload=-2011623664))]))
  113. 2023-12-03 08:16:06.491 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x10', *payload=-2011623664))
  114. 2023-12-03 08:16:06.492 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=51, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  115. 2023-12-03 08:16:06.493 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  116. 2023-12-03 08:16:06.493 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 493686, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=51, profile_id=260, cluster_id=61184, data=Serialized[b'\x183\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  117. 2023-12-03 08:16:06.494 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=51, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x33\x0B\x02\x86')
  118. 2023-12-03 08:16:06.495 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.489047, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  119. 2023-12-03 08:16:06.496 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.489047, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  120. 2023-12-03 08:16:06.498 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  121. 2023-12-03 08:16:06.499 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  122. 2023-12-03 08:16:06.506 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  123. 2023-12-03 08:16:06.520 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=51)
  124. 2023-12-03 08:16:06.654 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=69, SecurityUse=<Bool.false: 0>, TimeStamp=10860483, TSN=0, Data=b'\x09\x5C\x02\x00\xCB\x07\x01\x00\x01\x01', MacSrcAddr=0xE84B, MsgResultRadius=29)
  125. 2023-12-03 08:16:06.655 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 654977, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t\\\x02\x00\xcb\x07\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=69, rssi=None)
  126. 2023-12-03 08:16:06.655 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b'\t\\\x02\x00\xcb\x07\x01\x00\x01\x01'
  127. 2023-12-03 08:16:06.656 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=92, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  128. 2023-12-03 08:16:06.656 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=203, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  129. 2023-12-03 08:16:06.657 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 92): set_data_response(data=TuyaCommand(status=0, tsn=203, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  130. 2023-12-03 08:16:06.657 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: received onoff Bool.true while transitioning - skipping update
  131. 2023-12-03 08:16:06.658 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=92, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  132. 2023-12-03 08:16:06.658 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.SUCCESS: 0>)
  133. 2023-12-03 08:16:06.659 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 659348, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=92, profile_id=260, cluster_id=61184, data=Serialized[b'\x18\\\x0b\x02\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  134. 2023-12-03 08:16:06.660 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=92, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x5C\x0B\x02\x00')
  135. 2023-12-03 08:16:06.660 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.654977, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  136. 2023-12-03 08:16:06.662 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.654977, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  137. 2023-12-03 08:16:06.663 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  138. 2023-12-03 08:16:06.663 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  139. 2023-12-03 08:16:06.664 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591366.657823, 'min_update_delta': 30.0})
  140. 2023-12-03 08:16:06.664 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591366.657823, 'min_update_delta': 30.0}) completed
  141. 2023-12-03 08:16:06.665 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  142. 2023-12-03 08:16:06.665 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  143. 2023-12-03 08:16:06.671 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  144. 2023-12-03 08:16:06.691 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=92)
  145. 2023-12-03 08:16:06.713 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=72, SecurityUse=<Bool.false: 0>, TimeStamp=10864204, TSN=0, Data=b'\x09\x5D\x02\x00\xCC\x07\x01\x00\x01\x01', MacSrcAddr=0xE84B, MsgResultRadius=29)
  146. 2023-12-03 08:16:06.713 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 713842, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t]\x02\x00\xcc\x07\x01\x00\x01\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=72, rssi=None)
  147. 2023-12-03 08:16:06.714 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b'\t]\x02\x00\xcc\x07\x01\x00\x01\x01'
  148. 2023-12-03 08:16:06.715 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=93, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  149. 2023-12-03 08:16:06.715 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  150. 2023-12-03 08:16:06.716 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 93): set_data_response(data=TuyaCommand(status=0, tsn=204, datapoints=[TuyaDatapointData(dp=7, data=TuyaData(dp_type=<TuyaDPType.BOOL: 1>, function=0, raw=b'\x01', *payload=<Bool.true: 1>))]))
  151. 2023-12-03 08:16:06.716 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: received onoff Bool.true while transitioning - skipping update
  152. 2023-12-03 08:16:06.717 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=93, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  153. 2023-12-03 08:16:06.718 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.SUCCESS: 0>)
  154. 2023-12-03 08:16:06.718 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 718497, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=93, profile_id=260, cluster_id=61184, data=Serialized[b'\x18]\x0b\x02\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  155. 2023-12-03 08:16:06.719 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=93, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x5D\x0B\x02\x00')
  156. 2023-12-03 08:16:06.720 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.713842, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  157. 2023-12-03 08:16:06.722 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.713842, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  158. 2023-12-03 08:16:06.722 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  159. 2023-12-03 08:16:06.723 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  160. 2023-12-03 08:16:06.723 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591366.716751, 'min_update_delta': 30.0})
  161. 2023-12-03 08:16:06.723 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': a4:c1:38:6a:3d:07:13:73, 'endpoint_id': 2, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591366.716751, 'min_update_delta': 30.0}) completed
  162. 2023-12-03 08:16:06.724 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  163. 2023-12-03 08:16:06.724 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  164. 2023-12-03 08:16:06.732 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  165. 2023-12-03 08:16:06.798 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=65, SecurityUse=<Bool.false: 0>, TimeStamp=10869497, TSN=0, Data=b'\x09\x5E\x02\x00\xCD\x14\x02\x00\x04\xEB\x2D\x27\x45', MacSrcAddr=0xE84B, MsgResultRadius=29)
  166. 2023-12-03 08:16:06.799 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 799084, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b"\t^\x02\x00\xcd\x14\x02\x00\x04\xeb-'E"], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=65, rssi=None)
  167. 2023-12-03 08:16:06.799 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b"\t^\x02\x00\xcd\x14\x02\x00\x04\xeb-'E"
  168. 2023-12-03 08:16:06.800 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=94, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  169. 2023-12-03 08:16:06.801 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=205, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'E", *payload=-349362363))]))
  170. 2023-12-03 08:16:06.801 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 94): set_data_response(data=TuyaCommand(status=0, tsn=205, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'E", *payload=-349362363))]))
  171. 2023-12-03 08:16:06.801 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'E", *payload=-349362363))
  172. 2023-12-03 08:16:06.802 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=94, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  173. 2023-12-03 08:16:06.803 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  174. 2023-12-03 08:16:06.803 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 6, 803461, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=94, profile_id=260, cluster_id=61184, data=Serialized[b'\x18^\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  175. 2023-12-03 08:16:06.804 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=94, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x5E\x0B\x02\x86')
  176. 2023-12-03 08:16:06.804 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.799084, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  177. 2023-12-03 08:16:06.805 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591366.799084, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  178. 2023-12-03 08:16:06.807 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  179. 2023-12-03 08:16:06.807 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  180. 2023-12-03 08:16:06.808 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=93)
  181. 2023-12-03 08:16:06.816 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  182. 2023-12-03 08:16:07.103 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x9F39:1:0x0702]: async_force_update
  183. 2023-12-03 08:16:07.103 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x9F39:1:0x0702]: Reading attributes in chunks: ['current_summ_delivered']
  184. 2023-12-03 08:16:07.104 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0702] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=162, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
  185. 2023-12-03 08:16:07.105 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0702] Sending request: Read_Attributes(attribute_ids=[0])
  186. 2023-12-03 08:16:07.105 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 105429, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x9F39), dst_ep=1, source_route=None, extended_timeout=False, tsn=162, profile_id=260, cluster_id=1794, data=Serialized[b'\x00\xa2\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  187. 2023-12-03 08:16:07.106 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x9F39:1:0x0b04]: async_update
  188. 2023-12-03 08:16:07.106 DEBUG (MainThread) [homeassistant.components.zha.core.cluster_handlers] [0x9F39:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
  189. 2023-12-03 08:16:07.106 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Server_to_Client: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=163, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Server_to_Client: 0>)
  190. 2023-12-03 08:16:07.107 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
  191. 2023-12-03 08:16:07.107 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 107800, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x9F39), dst_ep=1, source_route=None, extended_timeout=False, tsn=163, profile_id=260, cluster_id=2820, data=Serialized[b'\x00\xa3\x00\x0b\x05\x08\x05\x05\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  192. 2023-12-03 08:16:07.108 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x9F39), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=1794, TSN=162, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x00\xA2\x00\x00\x00')
  193. 2023-12-03 08:16:07.120 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  194. 2023-12-03 08:16:07.120 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x9F39), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=2820, TSN=163, Options=<TransmitOptions.SUPPRESS_ROUTE_DISC_NETWORK: 32>, Radius=0, Data=b'\x00\xA3\x00\x0B\x05\x08\x05\x05\x05')
  195. 2023-12-03 08:16:07.123 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=162)
  196. 2023-12-03 08:16:07.133 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  197. 2023-12-03 08:16:07.140 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0x9F39, Relays=[])
  198. 2023-12-03 08:16:07.140 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=163)
  199. 2023-12-03 08:16:07.141 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'INSERT INTO relays_v12 VALUES (:ieee, :relays)\n ON CONFLICT (ieee)\n DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 70:b3:d5:2b:60:01:af:74, 'relays': b'\x00'})
  200. 2023-12-03 08:16:07.143 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'INSERT INTO relays_v12 VALUES (:ieee, :relays)\n ON CONFLICT (ieee)\n DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 70:b3:d5:2b:60:01:af:74, 'relays': b'\x00'}) completed
  201. 2023-12-03 08:16:07.144 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  202. 2023-12-03 08:16:07.144 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  203. 2023-12-03 08:16:07.166 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=1794, SrcAddr=0x9F39, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=153, SecurityUse=<Bool.false: 0>, TimeStamp=10891608, TSN=0, Data=b'\x18\xA2\x01\x00\x00\x00\x25\xB1\x1F\x00\x00\x00\x00', MacSrcAddr=0x9F39, MsgResultRadius=29)
  204. 2023-12-03 08:16:07.167 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 167358, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x9F39), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\xa2\x01\x00\x00\x00%\xb1\x1f\x00\x00\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=153, rssi=None)
  205. 2023-12-03 08:16:07.168 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0702] Received ZCL frame: b'\x18\xa2\x01\x00\x00\x00%\xb1\x1f\x00\x00\x00\x00'
  206. 2023-12-03 08:16:07.168 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=162, command_id=1, *direction=<Direction.Client_to_Server: 1>)
  207. 2023-12-03 08:16:07.169 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0702] Decoded ZCL frame: TuyaZBMeteringClusterWithUnit:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x0000, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint48_t, value=8113))])
  208. 2023-12-03 08:16:07.170 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=2820, SrcAddr=0x9F39, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=131, SecurityUse=<Bool.false: 0>, TimeStamp=10892016, TSN=0, Data=b'\x18\xA3\x01\x0B\x05\x00\x21\x0D\x00\x08\x05\x00\x21\x79\x00\x05\x05\x00\x21\xEE\x00', MacSrcAddr=0x9F39, MsgResultRadius=29)
  209. 2023-12-03 08:16:07.171 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 171295, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x9F39), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=2820, data=Serialized[b'\x18\xa3\x01\x0b\x05\x00!\r\x00\x08\x05\x00!y\x00\x05\x05\x00!\xee\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=131, rssi=None)
  210. 2023-12-03 08:16:07.171 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0b04] Received ZCL frame: b'\x18\xa3\x01\x0b\x05\x00!\r\x00\x08\x05\x00!y\x00\x05\x05\x00!\xee\x00'
  211. 2023-12-03 08:16:07.172 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=163, command_id=1, *direction=<Direction.Client_to_Server: 1>)
  212. 2023-12-03 08:16:07.173 DEBUG (MainThread) [zigpy.zcl] [0x9F39:1:0x0b04] Decoded ZCL frame: TuyaZBElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=0x050B, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=13)), ReadAttributeRecord(attrid=0x0508, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=121)), ReadAttributeRecord(attrid=0x0505, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=238))])
  213. 2023-12-03 08:16:07.176 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.167358, 'ieee': 70:b3:d5:2b:60:01:af:74, 'min_update_delta': 30.0})
  214. 2023-12-03 08:16:07.179 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.167358, 'ieee': 70:b3:d5:2b:60:01:af:74, 'min_update_delta': 30.0}) completed
  215. 2023-12-03 08:16:07.180 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  216. 2023-12-03 08:16:07.181 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  217. 2023-12-03 08:16:07.183 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 1794, 'attrid': 0, 'value': 8113, 'timestamp': 1701591367.169641, 'min_update_delta': 30.0})
  218. 2023-12-03 08:16:07.183 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 1794, 'attrid': 0, 'value': 8113, 'timestamp': 1701591367.169641, 'min_update_delta': 30.0}) completed
  219. 2023-12-03 08:16:07.184 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  220. 2023-12-03 08:16:07.185 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  221. 2023-12-03 08:16:07.186 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.171295, 'ieee': 70:b3:d5:2b:60:01:af:74, 'min_update_delta': 30.0})
  222. 2023-12-03 08:16:07.186 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.171295, 'ieee': 70:b3:d5:2b:60:01:af:74, 'min_update_delta': 30.0}) completed
  223. 2023-12-03 08:16:07.188 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  224. 2023-12-03 08:16:07.188 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  225. 2023-12-03 08:16:07.190 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1291, 'value': 13, 'timestamp': 1701591367.173825, 'min_update_delta': 30.0})
  226. 2023-12-03 08:16:07.191 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1291, 'value': 13, 'timestamp': 1701591367.173825, 'min_update_delta': 30.0}) completed
  227. 2023-12-03 08:16:07.191 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  228. 2023-12-03 08:16:07.192 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  229. 2023-12-03 08:16:07.192 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1288, 'value': 121, 'timestamp': 1701591367.174344, 'min_update_delta': 30.0})
  230. 2023-12-03 08:16:07.193 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1288, 'value': 121, 'timestamp': 1701591367.174344, 'min_update_delta': 30.0}) completed
  231. 2023-12-03 08:16:07.193 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  232. 2023-12-03 08:16:07.194 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  233. 2023-12-03 08:16:07.195 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1285, 'value': 238, 'timestamp': 1701591367.174604, 'min_update_delta': 30.0})
  234. 2023-12-03 08:16:07.196 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 70:b3:d5:2b:60:01:af:74, 'endpoint_id': 1, 'cluster_id': 2820, 'attrid': 1285, 'value': 238, 'timestamp': 1701591367.174604, 'min_update_delta': 30.0}) completed
  235. 2023-12-03 08:16:07.197 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  236. 2023-12-03 08:16:07.197 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  237. 2023-12-03 08:16:07.493 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=10912959, TSN=0, Data=b'\x09\x34\x02\x00\x4D\x14\x02\x00\x04\x88\x19\x0F\x0F', MacSrcAddr=0x0C96, MsgResultRadius=29)
  238. 2023-12-03 08:16:07.494 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 494606, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t4\x02\x00M\x14\x02\x00\x04\x88\x19\x0f\x0f'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=54, rssi=None)
  239. 2023-12-03 08:16:07.495 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t4\x02\x00M\x14\x02\x00\x04\x88\x19\x0f\x0f'
  240. 2023-12-03 08:16:07.495 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=52, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  241. 2023-12-03 08:16:07.496 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0f', *payload=-2011623665))]))
  242. 2023-12-03 08:16:07.496 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 52): set_data_response(data=TuyaCommand(status=0, tsn=77, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0f', *payload=-2011623665))]))
  243. 2023-12-03 08:16:07.497 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0f', *payload=-2011623665))
  244. 2023-12-03 08:16:07.498 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=52, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  245. 2023-12-03 08:16:07.498 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  246. 2023-12-03 08:16:07.498 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 498809, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=52, profile_id=260, cluster_id=61184, data=Serialized[b'\x184\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  247. 2023-12-03 08:16:07.499 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=52, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x34\x0B\x02\x86')
  248. 2023-12-03 08:16:07.500 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.494606, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  249. 2023-12-03 08:16:07.503 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.494606, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  250. 2023-12-03 08:16:07.504 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  251. 2023-12-03 08:16:07.504 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  252. 2023-12-03 08:16:07.511 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  253. 2023-12-03 08:16:07.600 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light_2: transition complete - future attribute reports will write HA state
  254. 2023-12-03 08:16:07.605 DEBUG (MainThread) [homeassistant.components.zha.entity] light.lounge_dining_switch_light: transition complete - future attribute reports will write HA state
  255. 2023-12-03 08:16:07.780 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=65, SecurityUse=<Bool.false: 0>, TimeStamp=10930862, TSN=0, Data=b'\x09\x5F\x02\x00\xCE\x14\x02\x00\x04\xEB\x2D\x27\x44', MacSrcAddr=0xE84B, MsgResultRadius=29)
  256. 2023-12-03 08:16:07.781 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 781586, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b"\t_\x02\x00\xce\x14\x02\x00\x04\xeb-'D"], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=65, rssi=None)
  257. 2023-12-03 08:16:07.782 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b"\t_\x02\x00\xce\x14\x02\x00\x04\xeb-'D"
  258. 2023-12-03 08:16:07.782 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=95, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  259. 2023-12-03 08:16:07.783 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=206, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'D", *payload=-349362364))]))
  260. 2023-12-03 08:16:07.783 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 95): set_data_response(data=TuyaCommand(status=0, tsn=206, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'D", *payload=-349362364))]))
  261. 2023-12-03 08:16:07.784 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'D", *payload=-349362364))
  262. 2023-12-03 08:16:07.785 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=95, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  263. 2023-12-03 08:16:07.785 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  264. 2023-12-03 08:16:07.785 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 7, 785817, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=95, profile_id=260, cluster_id=61184, data=Serialized[b'\x18_\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  265. 2023-12-03 08:16:07.786 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=95, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x5F\x0B\x02\x86')
  266. 2023-12-03 08:16:07.787 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.781586, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  267. 2023-12-03 08:16:07.788 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591367.781586, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  268. 2023-12-03 08:16:07.789 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  269. 2023-12-03 08:16:07.789 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  270. 2023-12-03 08:16:07.798 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  271. 2023-12-03 08:16:07.821 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=95)
  272. 2023-12-03 08:16:08.037 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=94)
  273. 2023-12-03 08:16:08.497 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=10975664, TSN=0, Data=b'\x09\x35\x02\x00\x4E\x14\x02\x00\x04\x88\x19\x0F\x0E', MacSrcAddr=0x0C96, MsgResultRadius=29)
  274. 2023-12-03 08:16:08.498 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 8, 498438, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t5\x02\x00N\x14\x02\x00\x04\x88\x19\x0f\x0e'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=54, rssi=None)
  275. 2023-12-03 08:16:08.499 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t5\x02\x00N\x14\x02\x00\x04\x88\x19\x0f\x0e'
  276. 2023-12-03 08:16:08.500 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=53, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  277. 2023-12-03 08:16:08.501 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=78, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0e', *payload=-2011623666))]))
  278. 2023-12-03 08:16:08.501 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 53): set_data_response(data=TuyaCommand(status=0, tsn=78, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0e', *payload=-2011623666))]))
  279. 2023-12-03 08:16:08.502 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0e', *payload=-2011623666))
  280. 2023-12-03 08:16:08.503 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=53, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  281. 2023-12-03 08:16:08.504 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  282. 2023-12-03 08:16:08.504 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 8, 504925, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=53, profile_id=260, cluster_id=61184, data=Serialized[b'\x185\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  283. 2023-12-03 08:16:08.506 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=53, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x35\x0B\x02\x86')
  284. 2023-12-03 08:16:08.506 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591368.498438, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  285. 2023-12-03 08:16:08.507 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591368.498438, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  286. 2023-12-03 08:16:08.509 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  287. 2023-12-03 08:16:08.509 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  288. 2023-12-03 08:16:08.518 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  289. 2023-12-03 08:16:08.558 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=53)
  290. 2023-12-03 08:16:08.626 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=52)
  291. 2023-12-03 08:16:08.775 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=69, SecurityUse=<Bool.false: 0>, TimeStamp=10993071, TSN=0, Data=b'\x09\x60\x02\x00\xCF\x14\x02\x00\x04\xEB\x2D\x27\x43', MacSrcAddr=0xE84B, MsgResultRadius=29)
  292. 2023-12-03 08:16:08.776 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 8, 776731, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b"\t`\x02\x00\xcf\x14\x02\x00\x04\xeb-'C"], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=69, rssi=None)
  293. 2023-12-03 08:16:08.777 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b"\t`\x02\x00\xcf\x14\x02\x00\x04\xeb-'C"
  294. 2023-12-03 08:16:08.778 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=96, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  295. 2023-12-03 08:16:08.779 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=207, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'C", *payload=-349362365))]))
  296. 2023-12-03 08:16:08.780 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 96): set_data_response(data=TuyaCommand(status=0, tsn=207, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'C", *payload=-349362365))]))
  297. 2023-12-03 08:16:08.780 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'C", *payload=-349362365))
  298. 2023-12-03 08:16:08.781 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=96, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  299. 2023-12-03 08:16:08.782 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  300. 2023-12-03 08:16:08.783 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 8, 783012, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=96, profile_id=260, cluster_id=61184, data=Serialized[b'\x18`\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  301. 2023-12-03 08:16:08.784 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=96, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x60\x0B\x02\x86')
  302. 2023-12-03 08:16:08.785 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591368.776731, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  303. 2023-12-03 08:16:08.786 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591368.776731, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  304. 2023-12-03 08:16:08.788 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  305. 2023-12-03 08:16:08.788 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  306. 2023-12-03 08:16:08.796 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  307. 2023-12-03 08:16:08.814 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=96)
  308. 2023-12-03 08:16:09.186 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAFF0](lumi.sensor_motion): Device seen - marking the device available and resetting counter
  309. 2023-12-03 08:16:09.186 DEBUG (MainThread) [homeassistant.components.zha.core.device] [0xAFF0](lumi.sensor_motion): Update device availability - device available: True - new availability: True - changed: False
  310. 2023-12-03 08:16:09.465 DEBUG (MainThread) [zigpy_znp.api] Received command: ZDO.SrcRtgInd.Callback(DstAddr=0xF776, Relays=[0x7788])
  311. 2023-12-03 08:16:09.467 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'INSERT INTO relays_v12 VALUES (:ieee, :relays)\n ON CONFLICT (ieee)\n DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:15:8d:00:01:2f:55:c6, 'relays': b'\x01\x88w'})
  312. 2023-12-03 08:16:09.468 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'INSERT INTO relays_v12 VALUES (:ieee, :relays)\n ON CONFLICT (ieee)\n DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:15:8d:00:01:2f:55:c6, 'relays': b'\x01\x88w'}) completed
  313. 2023-12-03 08:16:09.469 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  314. 2023-12-03 08:16:09.469 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  315. 2023-12-03 08:16:09.473 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=6, SrcAddr=0xF776, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=11036477, TSN=0, Data=b'\x08\xEA\x0A\x00\x00\x10\x01', MacSrcAddr=0x7788, MsgResultRadius=28)
  316. 2023-12-03 08:16:09.474 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 474362, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xF776), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=6, data=Serialized[b'\x08\xea\n\x00\x00\x10\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=28, non_member_radius=0, lqi=54, rssi=None)
  317. 2023-12-03 08:16:09.475 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Received ZCL frame: b'\x08\xea\n\x00\x00\x10\x01'
  318. 2023-12-03 08:16:09.475 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=234, command_id=10, *direction=<Direction.Client_to_Server: 1>)
  319. 2023-12-03 08:16:09.476 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Decoded ZCL frame: OnOff:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
  320. 2023-12-03 08:16:09.476 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Received command 0x0A (TSN 234): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
  321. 2023-12-03 08:16:09.476 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Attribute report received: on_off=<Bool.true: 1>
  322. 2023-12-03 08:16:09.478 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=234, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  323. 2023-12-03 08:16:09.478 DEBUG (MainThread) [zigpy.zcl] [0xF776:1:0x0006] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
  324. 2023-12-03 08:16:09.478 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 478927, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xF776), dst_ep=1, source_route=None, extended_timeout=False, tsn=234, profile_id=260, cluster_id=6, data=Serialized[b'\x18\xea\x0b\n\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  325. 2023-12-03 08:16:09.479 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xF776), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=6, TSN=234, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\xEA\x0B\x0A\x00')
  326. 2023-12-03 08:16:09.480 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.474362, 'ieee': 00:15:8d:00:01:2f:55:c6, 'min_update_delta': 30.0})
  327. 2023-12-03 08:16:09.480 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.474362, 'ieee': 00:15:8d:00:01:2f:55:c6, 'min_update_delta': 30.0}) completed
  328. 2023-12-03 08:16:09.481 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  329. 2023-12-03 08:16:09.482 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  330. 2023-12-03 08:16:09.484 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 00:15:8d:00:01:2f:55:c6, 'endpoint_id': 1, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591369.477058, 'min_update_delta': 30.0})
  331. 2023-12-03 08:16:09.484 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, '\n INSERT INTO attributes_cache_v12\n VALUES (:ieee, :endpoint_id, :cluster_id, :attrid, :value, :timestamp)\n ON CONFLICT (ieee, endpoint_id, cluster, attrid) DO UPDATE\n SET value=excluded.value, last_updated=excluded.last_updated\n WHERE\n value != excluded.value\n OR :timestamp - last_updated > :min_update_delta\n ', {'ieee': 00:15:8d:00:01:2f:55:c6, 'endpoint_id': 1, 'cluster_id': 6, 'attrid': 0, 'value': <Bool.true: 1>, 'timestamp': 1701591369.477058, 'min_update_delta': 30.0}) completed
  332. 2023-12-03 08:16:09.486 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  333. 2023-12-03 08:16:09.488 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  334. 2023-12-03 08:16:09.489 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  335. 2023-12-03 08:16:09.504 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=51, SecurityUse=<Bool.false: 0>, TimeStamp=11038595, TSN=0, Data=b'\x09\x36\x02\x00\x4F\x14\x02\x00\x04\x88\x19\x0F\x0D', MacSrcAddr=0x0C96, MsgResultRadius=29)
  336. 2023-12-03 08:16:09.505 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 504998, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t6\x02\x00O\x14\x02\x00\x04\x88\x19\x0f\r'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=51, rssi=None)
  337. 2023-12-03 08:16:09.505 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t6\x02\x00O\x14\x02\x00\x04\x88\x19\x0f\r'
  338. 2023-12-03 08:16:09.506 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=54, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  339. 2023-12-03 08:16:09.506 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=79, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\r', *payload=-2011623667))]))
  340. 2023-12-03 08:16:09.507 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 54): set_data_response(data=TuyaCommand(status=0, tsn=79, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\r', *payload=-2011623667))]))
  341. 2023-12-03 08:16:09.507 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\r', *payload=-2011623667))
  342. 2023-12-03 08:16:09.508 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=54, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  343. 2023-12-03 08:16:09.509 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  344. 2023-12-03 08:16:09.509 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 509442, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=54, profile_id=260, cluster_id=61184, data=Serialized[b'\x186\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  345. 2023-12-03 08:16:09.510 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=54, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x36\x0B\x02\x86')
  346. 2023-12-03 08:16:09.510 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.504998, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  347. 2023-12-03 08:16:09.511 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.504998, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  348. 2023-12-03 08:16:09.512 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  349. 2023-12-03 08:16:09.512 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  350. 2023-12-03 08:16:09.516 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=234)
  351. 2023-12-03 08:16:09.522 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  352. 2023-12-03 08:16:09.536 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=54)
  353. 2023-12-03 08:16:09.771 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0xE84B, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=65, SecurityUse=<Bool.false: 0>, TimeStamp=11055281, TSN=0, Data=b'\x09\x61\x02\x00\xD0\x14\x02\x00\x04\xEB\x2D\x27\x42', MacSrcAddr=0xE84B, MsgResultRadius=29)
  354. 2023-12-03 08:16:09.771 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 771697, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b"\ta\x02\x00\xd0\x14\x02\x00\x04\xeb-'B"], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=65, rssi=None)
  355. 2023-12-03 08:16:09.772 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received ZCL frame: b"\ta\x02\x00\xd0\x14\x02\x00\x04\xeb-'B"
  356. 2023-12-03 08:16:09.772 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=97, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  357. 2023-12-03 08:16:09.773 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=208, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'B", *payload=-349362366))]))
  358. 2023-12-03 08:16:09.774 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Received command 0x02 (TSN 97): set_data_response(data=TuyaCommand(status=0, tsn=208, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'B", *payload=-349362366))]))
  359. 2023-12-03 08:16:09.774 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b"\xeb-'B", *payload=-349362366))
  360. 2023-12-03 08:16:09.775 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=97, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  361. 2023-12-03 08:16:09.775 DEBUG (MainThread) [zigpy.zcl] [0xE84B:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  362. 2023-12-03 08:16:09.775 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 9, 775897, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xE84B), dst_ep=1, source_route=None, extended_timeout=False, tsn=97, profile_id=260, cluster_id=61184, data=Serialized[b'\x18a\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  363. 2023-12-03 08:16:09.776 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0xE84B), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=97, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x61\x0B\x02\x86')
  364. 2023-12-03 08:16:09.778 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.771697, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0})
  365. 2023-12-03 08:16:09.779 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591369.771697, 'ieee': a4:c1:38:6a:3d:07:13:73, 'min_update_delta': 30.0}) completed
  366. 2023-12-03 08:16:09.779 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  367. 2023-12-03 08:16:09.780 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  368. 2023-12-03 08:16:09.788 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  369. 2023-12-03 08:16:09.861 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=97)
  370. 2023-12-03 08:16:10.515 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.IncomingMsg.Callback(GroupId=0x0000, ClusterId=61184, SrcAddr=0x0C96, SrcEndpoint=1, DstEndpoint=1, WasBroadcast=<Bool.false: 0>, LQI=54, SecurityUse=<Bool.false: 0>, TimeStamp=11101801, TSN=0, Data=b'\x09\x37\x02\x00\x50\x14\x02\x00\x04\x88\x19\x0F\x0C', MacSrcAddr=0x0C96, MsgResultRadius=29)
  371. 2023-12-03 08:16:10.516 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 10, 516907, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=0, profile_id=260, cluster_id=61184, data=Serialized[b'\t7\x02\x00P\x14\x02\x00\x04\x88\x19\x0f\x0c'], tx_options=<TransmitOptions.NONE: 0>, radius=29, non_member_radius=0, lqi=54, rssi=None)
  372. 2023-12-03 08:16:10.518 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received ZCL frame: b'\t7\x02\x00P\x14\x02\x00\x04\x88\x19\x0f\x0c'
  373. 2023-12-03 08:16:10.518 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.CLUSTER_COMMAND: 1>, is_manufacturer_specific=0, direction=<Direction.Client_to_Server: 1>, disable_default_response=0, reserved=0, *is_cluster=True, *is_general=False), tsn=55, command_id=2, *direction=<Direction.Client_to_Server: 1>)
  374. 2023-12-03 08:16:10.519 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Decoded ZCL frame: TuyaLevelControlManufCluster:set_data_response(data=TuyaCommand(status=0, tsn=80, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0c', *payload=-2011623668))]))
  375. 2023-12-03 08:16:10.519 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Received command 0x02 (TSN 55): set_data_response(data=TuyaCommand(status=0, tsn=80, datapoints=[TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0c', *payload=-2011623668))]))
  376. 2023-12-03 08:16:10.520 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] No datapoint handler for TuyaDatapointData(dp=20, data=TuyaData(dp_type=<TuyaDPType.VALUE: 2>, function=0, raw=b'\x88\x19\x0f\x0c', *payload=-2011623668))
  377. 2023-12-03 08:16:10.521 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply header: ZCLHeader(frame_control=FrameControl(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=55, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 1>)
  378. 2023-12-03 08:16:10.521 DEBUG (MainThread) [zigpy.zcl] [0x0C96:1:0xef00] Sending reply: Default_Response(command_id=2, status=<Status.UNSUPPORTED_ATTRIBUTE: 134>)
  379. 2023-12-03 08:16:10.522 DEBUG (MainThread) [zigpy_znp.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2023, 12, 3, 8, 16, 10, 522149, tzinfo=datetime.timezone.utc), src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0C96), dst_ep=1, source_route=None, extended_timeout=False, tsn=55, profile_id=260, cluster_id=61184, data=Serialized[b'\x187\x0b\x02\x86'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
  380. 2023-12-03 08:16:10.523 DEBUG (MainThread) [zigpy_znp.api] Sending request: AF.DataRequestExt.Req(DstAddrModeAddress=AddrModeAddress(mode=<AddrMode.NWK: 2>, address=0x0C96), DstEndpoint=1, DstPanId=0x0000, SrcEndpoint=1, ClusterId=61184, TSN=55, Options=<TransmitOptions.ACK_REQUEST|SUPPRESS_ROUTE_DISC_NETWORK: 48>, Radius=0, Data=b'\x18\x37\x0B\x02\x86')
  381. 2023-12-03 08:16:10.523 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591370.516907, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0})
  382. 2023-12-03 08:16:10.525 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f9fc7d40400>, 'UPDATE devices_v12\n SET last_seen=:ts\n WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1701591370.516907, 'ieee': a4:c1:38:b1:17:c9:9c:83, 'min_update_delta': 30.0}) completed
  383. 2023-12-03 08:16:10.527 DEBUG (Thread-10) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>)
  384. 2023-12-03 08:16:10.527 DEBUG (Thread-10) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f9fc7d40400>) completed
  385. 2023-12-03 08:16:10.534 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataRequestExt.Rsp(Status=<Status.SUCCESS: 0>)
  386. 2023-12-03 08:16:10.561 DEBUG (MainThread) [zigpy_znp.api] Received command: AF.DataConfirm.Callback(Status=<Status.SUCCESS: 0>, Endpoint=1, TSN=55)
  387.  
Advertisement
Add Comment
Please, Sign In to add comment