Welcome! Share code as fast as possible.

2024-11-12 17:59:00.155 DEBUG (bellows.thread_0) [bellows.ash] Received data 72b2b1a97d312a15b658964d21ab1593499c459b60939d9874f4de6483fc7a1584ebcddc701f7e
2024-11-12 17:59:00.155 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=2, ezsp_frame=b'\xf0\x90\x01E\x00\x00\x04\x01\x02\x07\x04\x01@\x01\x00\x00\x0b\xbc\xcb~S\xff\xff\t\x18\x07\n\x00\x04*#\x00\x00\x02')
2024-11-12 17:59:00.155 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:00.155 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:00.156 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=11), 'lastHopLqi': 188, 'lastHopRssi': -53, 'sender': 0x537E, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\x07\n\x00\x04*#\x00\x00'}
2024-11-12 17:59:00.156 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:00.156 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=11), 188, -53, 0x537E, 255, 255, b'\x18\x07\n\x00\x04*#\x00\x00']
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 0, 156218, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=11, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\x07\n\x00\x04*#\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received ZCL frame: b'\x18\x07\n\x00\x04*#\x00\x00'
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=7, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=35))])
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received command 0x0A (TSN 7): Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=35))])
2024-11-12 17:59:00.156 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Attribute report received: instantaneous_demand=35
2024-11-12 17:59:00.156 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[Metering] attr[instantaneous_demand] value[35]
2024-11-12 17:59:00.156 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1024, attribute_name='instantaneous_demand', attribute_value=35, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:00.157 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:00.157 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_instantaneous_demand: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:00.157 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430740.156218, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0})
2024-11-12 17:59:00.158 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430740.156218, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:00.158 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:00.158 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:00.159 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 35, 'timestamp': 1731430740.156877, 'min_update_delta': 30.0})
2024-11-12 17:59:00.159 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 35, 'timestamp': 1731430740.156877, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:00.159 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:00.159 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:00.248 DEBUG (MainThread) [zha.decorators] [<Task pending name='global-updater_GlobalUpdater' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.helpers::GlobalUpdater.update_listeners]
2024-11-12 17:59:00.248 DEBUG (MainThread) [zha.application.helpers] Global updater interval starting
2024-11-12 17:59:00.248 DEBUG (MainThread) [zha.application.helpers] Global updater interval finished
2024-11-12 17:59:00.735 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:00.735 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:00.735 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=2, re_tx=False, ack_num=0, ezsp_frame=b'\xf1\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:00.735 DEBUG (bellows.thread_0) [bellows.ash] Sending data  20b321a9a52afea07e
2024-11-12 17:59:00.748 DEBUG (bellows.thread_0) [bellows.ash] Received data 03b3a1a9a52a91b5c8940e265154ad49964e2fabe5ce348a7d33c66389fe7d5e3aa78dcdb86fc8ffc7dbd5d2698c4623a9ec7d5d3ba5ea7582419800267d33b1
2024-11-12 17:59:00.752 DEBUG (bellows.thread_0) [bellows.ash] Received data e070381c0e07bbe5ca65b9459a4d9e4f9ff7c3d9d46a35a251904824dec07e
2024-11-12 17:59:00.752 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=3, ezsp_frame=b'\xf1\x80\x01\xf1\x00\x84\x07\x91\x00D\x03\xfb\x01?\x00\n\x00\x08\x00\x08\x00S\x01\xee\x00\x00\x00\x02\x00\x05\x00f\x00f\x00G\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:00.752 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:00.752 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:00.753 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1924, 145, 836, 507, 63, 10, 8, 8, 339, 238, 0, 2, 5, 102, 102, 71, 0, 0, 0, 0, 0, 11, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:00.753 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:00.754 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=3, re_tx=False, ack_num=1, ezsp_frame=b'\xf2\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:00.754 DEBUG (bellows.thread_0) [bellows.ash] Sending data  31b021a9fe2a1633e37e
2024-11-12 17:59:00.760 DEBUG (bellows.thread_0) [bellows.ash] Received data 14b0a1a9fe2a15b3a57d31037e
2024-11-12 17:59:00.760 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=4, ezsp_frame=b'\xf2\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:00.760 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:00.760 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:00.761 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:00.761 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:00.761 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31484, MAC_TX_BROADCAST = 1752, MAC_RX_UNICAST = 9050, MAC_TX_UNICAST_SUCCESS = 5933, MAC_TX_UNICAST_RETRY = 339, MAC_TX_UNICAST_FAILED = 31, APS_DATA_RX_BROADCAST = 83, APS_DATA_TX_BROADCAST = 83, APS_DATA_RX_UNICAST = 3465, APS_DATA_TX_UNICAST_SUCCESS = 3078, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 439, NEIGHBOR_REMOVED = 423, NEIGHBOR_STALE = 220, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 65, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1103, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 190, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:05.259 DEBUG (bellows.thread_0) [bellows.ash] Received data 24b0b1a97d312a15b658964d21ab1593499c429b60939d9874f4de6b83fc7a1585ebcddc59107e
2024-11-12 17:59:05.259 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=4, ezsp_frame=b'\xf2\x90\x01E\x00\x00\x04\x01\x02\x07\x04\x01@\x01\x00\x00\x0c\xbc\xcb~S\xff\xff\t\x18\x08\n\x00\x04*"\x00\x00\x02')
2024-11-12 17:59:05.259 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:05.259 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:05.260 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=12), 'lastHopLqi': 188, 'lastHopRssi': -53, 'sender': 0x537E, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\x08\n\x00\x04*"\x00\x00'}
2024-11-12 17:59:05.260 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:05.260 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=12), 188, -53, 0x537E, 255, 255, b'\x18\x08\n\x00\x04*"\x00\x00']
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 5, 260311, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=12, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\x08\n\x00\x04*"\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received ZCL frame: b'\x18\x08\n\x00\x04*"\x00\x00'
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=8, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=34))])
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received command 0x0A (TSN 8): Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=34))])
2024-11-12 17:59:05.260 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Attribute report received: instantaneous_demand=34
2024-11-12 17:59:05.260 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[Metering] attr[instantaneous_demand] value[34]
2024-11-12 17:59:05.260 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1024, attribute_name='instantaneous_demand', attribute_value=34, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:05.261 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:05.261 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_instantaneous_demand: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:05.261 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430745.260311, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0})
2024-11-12 17:59:05.262 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430745.260311, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:05.262 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:05.262 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:05.263 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 34, 'timestamp': 1731430745.260928, 'min_update_delta': 30.0})
2024-11-12 17:59:05.263 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 34, 'timestamp': 1731430745.260928, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:05.263 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:05.264 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:10.762 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:10.762 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:10.763 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=4, re_tx=False, ack_num=3, ezsp_frame=b'\xf3\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:10.763 DEBUG (bellows.thread_0) [bellows.ash] Sending data  43b121a9a52a2bdb7e
2024-11-12 17:59:10.777 DEBUG (bellows.thread_0) [bellows.ash] Received data 35b1a1a9a52a9bb5cb940f265654ad49964e2fabe5ce338a7d33c66389fe7d5e3aa78dcdb86fc7ffc7dbd5d2698c4623a9ec7d5d3ba5ea7582419800267d33b1
2024-11-12 17:59:10.781 DEBUG (bellows.thread_0) [bellows.ash] Received data e070381c0e07bbe5ca65b9459a4d9e4f9ff7c3d9d46a35a25190482461327e
2024-11-12 17:59:10.781 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=5, ezsp_frame=b'\xf3\x80\x01\xf1\x00\x8e\x07\x92\x00E\x03\xfc\x01?\x00\n\x00\x08\x00\x08\x00T\x01\xee\x00\x00\x00\x02\x00\x05\x00f\x00f\x00H\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:10.781 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:10.781 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:10.782 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1934, 146, 837, 508, 63, 10, 8, 8, 340, 238, 0, 2, 5, 102, 102, 72, 0, 0, 0, 0, 0, 11, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:10.782 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:10.782 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=5, re_tx=False, ack_num=4, ezsp_frame=b'\xf4\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:10.782 DEBUG (bellows.thread_0) [bellows.ash] Sending data  54b621a9fe2a1674bf7e
2024-11-12 17:59:10.789 DEBUG (bellows.thread_0) [bellows.ash] Received data 46b6a1a9fe2a15b3a55b887e
2024-11-12 17:59:10.789 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=6, ezsp_frame=b'\xf4\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:10.789 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:10.789 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:10.789 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:10.790 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:10.790 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31494, MAC_TX_BROADCAST = 1753, MAC_RX_UNICAST = 9051, MAC_TX_UNICAST_SUCCESS = 5934, MAC_TX_UNICAST_RETRY = 339, MAC_TX_UNICAST_FAILED = 31, APS_DATA_RX_BROADCAST = 83, APS_DATA_TX_BROADCAST = 83, APS_DATA_RX_UNICAST = 3466, APS_DATA_TX_UNICAST_SUCCESS = 3078, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 439, NEIGHBOR_REMOVED = 423, NEIGHBOR_STALE = 221, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 65, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1103, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 190, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:14.586 DEBUG (MainThread) [zha.decorators] [<Task pending name='sensor_state_poller_00:15:8d:00:03:62:27:24-1-2820_PolledElectricalMeasurement' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.platforms.sensor::PollableSensor._refresh]
2024-11-12 17:59:14.586 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:03:62:27:24-1-2820: polling for updated state
2024-11-12 17:59:14.586 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:03:62:27:24-1-2820: polling current state
2024-11-12 17:59:14.586 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: async_update
2024-11-12 17:59:14.586 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
2024-11-12 17:59:14.586 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl<0x00>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=106, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:14.586 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
2024-11-12 17:59:14.586 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 14, 586981, tzinfo=datetime.timezone.utc), priority=<PacketPriority.NORMAL: 0>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2E52), dst_ep=1, source_route=None, extended_timeout=False, tsn=106, profile_id=260, cluster_id=2820, data=Serialized[b'\x00j\x00\x0b\x05\x08\x05\x05\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:14.587 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x2E52, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=106), 'messageTag': 74, 'messageContents': b'\x00j\x00\x0b\x05\x08\x05\x05\x05'}
2024-11-12 17:59:14.587 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=6, re_tx=False, ack_num=5, ezsp_frame=b'\xf5\x00\x014\x00\x00R.\x04\x01\x04\x0b\x01\x01@\x01\x00\x00jJ\t\x00j\x00\x0b\x05\x08\x05\x05\x05') + FLAG
2024-11-12 17:59:14.587 DEBUG (bellows.thread_0) [bellows.ash] Sending data  65b721a9602a15e077904b21a15493099d4e27c1a7c767e1fdcd6681f97b3aae467e
2024-11-12 17:59:14.597 DEBUG (bellows.thread_0) [bellows.ash] Received data 57b7a1a9602a15fe7d3a607e
2024-11-12 17:59:14.597 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=7, ezsp_frame=b'\xf5\x80\x014\x00\x00L')
2024-11-12 17:59:14.597 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:14.597 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:14.597 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 76}
2024-11-12 17:59:14.616 DEBUG (bellows.thread_0) [bellows.ash] Received data 67b7b1a96b2a15e077904b21a15493099d4e27e7a7ce67a0e37e
2024-11-12 17:59:14.616 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=7, ezsp_frame=b'\xf5\x90\x01?\x00\x00R.\x04\x01\x04\x0b\x01\x01@\x01\x00\x00LJ\x00\x00')
2024-11-12 17:59:14.616 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:14.616 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:14.616 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 11858, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=76), 'messageTag': 74, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:14.616 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 11858, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=76), 74, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:14.634 DEBUG (bellows.thread_0) [bellows.ash] Received data 77b7b1a97d312a15b658904124ab1593499c729b60bfe09874e8de0988f77b3f8ee5cdd66a8fde5cdbd0d769adae23ad275d7e
2024-11-12 17:59:14.634 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=7, ezsp_frame=b'\xf5\x90\x01E\x00\x00\x04\x01\x04\x0b\x01\x01@\x01\x00\x00<\xbc\xcbR.\xff\xff\x15\x18j\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9b\x00\x05\x05\x00!\xe8\x00\x04')
2024-11-12 17:59:14.634 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:14.634 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:14.634 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=60), 'lastHopLqi': 188, 'lastHopRssi': -53, 'sender': 0x2E52, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18j\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9b\x00\x05\x05\x00!\xe8\x00'}
2024-11-12 17:59:14.635 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:14.635 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=60), 188, -53, 0x2E52, 255, 255, b'\x18j\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9b\x00\x05\x05\x00!\xe8\x00']
2024-11-12 17:59:14.635 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 14, 635194, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2E52), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=60, profile_id=260, cluster_id=2820, data=Serialized[b'\x18j\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9b\x00\x05\x05\x00!\xe8\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2024-11-12 17:59:14.635 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Received ZCL frame: b'\x18j\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9b\x00\x05\x05\x00!\xe8\x00'
2024-11-12 17:59:14.635 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=106, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:14.635 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Decoded ZCL frame: ElectricalMeasurementClusterInnr:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=1291, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=14)), ReadAttributeRecord(attrid=1288, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=155)), ReadAttributeRecord(attrid=1285, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=232))])
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[14]
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value=14, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[155]
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value=155, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[232]
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value=232, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.636 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:03:62:27:24-1-2820-rms_voltage', device_ieee=00:15:8d:00:03:62:27:24, endpoint_id=1, group_id=None) (1 listeners)
2024-11-12 17:59:14.636 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.innr_sp_120_voltage: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:03:62:27:24-1-2820-rms_voltage', device_ieee=00:15:8d:00:03:62:27:24, endpoint_id=1, group_id=None)
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[active_power]
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value='active_power', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[rms_current]
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value='rms_current', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[rms_voltage]
2024-11-12 17:59:14.637 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value='rms_voltage', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:14.637 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430754.635194, 'ieee': 00:15:8d:00:03:62:27:24, 'min_update_delta': 30.0})
2024-11-12 17:59:14.638 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430754.635194, 'ieee': 00:15:8d:00:03:62:27:24, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:14.639 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:14.639 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:14.639 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 14, 'timestamp': 1731430754.636183, 'min_update_delta': 30.0})
2024-11-12 17:59:14.639 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 14, 'timestamp': 1731430754.636183, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 155, 'timestamp': 1731430754.636383, 'min_update_delta': 30.0})
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 155, 'timestamp': 1731430754.636383, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:14.640 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:14.641 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430754.636516, 'min_update_delta': 30.0})
2024-11-12 17:59:14.641 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430754.636516, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:14.641 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:14.641 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:17.955 WARNING (MainThread) [homeassistant.helpers.service] Referenced entities automation.wake_up_light_alarm_with_sunrise_effect_2 are missing or not currently available
2024-11-12 17:59:20.604 DEBUG (bellows.thread_0) [bellows.ash] Received data 07b7b1a97d312a15b658964d21ab1593499c439f61939d9874f4de6a83fc7a1584ebcddcb5f17e
2024-11-12 17:59:20.604 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=7, ezsp_frame=b'\xf5\x90\x01E\x00\x00\x04\x01\x02\x07\x04\x01@\x01\x00\x00\r\xb8\xca~S\xff\xff\t\x18\t\n\x00\x04*#\x00\x00\x02')
2024-11-12 17:59:20.604 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:20.604 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:20.604 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=13), 'lastHopLqi': 184, 'lastHopRssi': -54, 'sender': 0x537E, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\t\n\x00\x04*#\x00\x00'}
2024-11-12 17:59:20.604 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:20.604 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=13), 184, -54, 0x537E, 255, 255, b'\x18\t\n\x00\x04*#\x00\x00']
2024-11-12 17:59:20.604 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 20, 604987, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=13, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\t\n\x00\x04*#\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=184, rssi=-54)
2024-11-12 17:59:20.605 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received ZCL frame: b'\x18\t\n\x00\x04*#\x00\x00'
2024-11-12 17:59:20.605 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=9, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:20.605 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=35))])
2024-11-12 17:59:20.605 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received command 0x0A (TSN 9): Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=35))])
2024-11-12 17:59:20.605 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Attribute report received: instantaneous_demand=35
2024-11-12 17:59:20.605 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[Metering] attr[instantaneous_demand] value[35]
2024-11-12 17:59:20.605 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1024, attribute_name='instantaneous_demand', attribute_value=35, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:20.605 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:20.605 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_instantaneous_demand: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:20.606 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430760.604987, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0})
2024-11-12 17:59:20.606 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430760.604987, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:20.607 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:20.607 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:20.608 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 35, 'timestamp': 1731430760.605601, 'min_update_delta': 30.0})
2024-11-12 17:59:20.608 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 35, 'timestamp': 1731430760.605601, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:20.609 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:20.609 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:20.791 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:20.791 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:20.791 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=7, re_tx=False, ack_num=1, ezsp_frame=b'\xf6\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:20.791 DEBUG (bellows.thread_0) [bellows.ash] Sending data  71b421a9a52aac407e
2024-11-12 17:59:20.805 DEBUG (bellows.thread_0) [bellows.ash] Received data 10b4a1a9a52a83b5cb9402265554ad49964e2fabe5ce318a12c66389fe7d5e3aa78dcdb86fc7ffc7dbd5d2698c4623a9ec7d5d3ba5ea7582419800267d33b1e0
2024-11-12 17:59:20.809 DEBUG (bellows.thread_0) [bellows.ash] Received data 70381c0e07bbe5ca65b9459a4d9e4f9ff7c3d9d46a35a2519048247d337f7e
2024-11-12 17:59:20.809 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=0, ezsp_frame=b'\xf6\x80\x01\xf1\x00\x96\x07\x92\x00H\x03\xff\x01?\x00\n\x00\x08\x00\x08\x00V\x01\xef\x00\x00\x00\x02\x00\x05\x00f\x00f\x00H\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:20.809 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:20.809 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:20.810 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1942, 146, 840, 511, 63, 10, 8, 8, 342, 239, 0, 2, 5, 102, 102, 72, 0, 0, 0, 0, 0, 11, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:20.810 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:20.810 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=0, re_tx=False, ack_num=2, ezsp_frame=b'\xf7\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:20.810 DEBUG (bellows.thread_0) [bellows.ash] Sending data  02b521a9fe2a16f1ed7e
2024-11-12 17:59:20.817 DEBUG (bellows.thread_0) [bellows.ash] Received data 21b5a1a9fe2a15b3a5da737e
2024-11-12 17:59:20.817 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=1, ezsp_frame=b'\xf7\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:20.817 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:20.817 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:20.818 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:20.818 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:20.818 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31502, MAC_TX_BROADCAST = 1753, MAC_RX_UNICAST = 9054, MAC_TX_UNICAST_SUCCESS = 5937, MAC_TX_UNICAST_RETRY = 339, MAC_TX_UNICAST_FAILED = 31, APS_DATA_RX_BROADCAST = 83, APS_DATA_TX_BROADCAST = 83, APS_DATA_RX_UNICAST = 3468, APS_DATA_TX_UNICAST_SUCCESS = 3079, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 439, NEIGHBOR_REMOVED = 423, NEIGHBOR_STALE = 221, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 65, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1103, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 190, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:23.604 DEBUG (bellows.thread_0) [bellows.ash] Received data 31b5b1a90d2ad69d85752c2dabdd854920852682d433577e
2024-11-12 17:59:23.604 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=1, ezsp_frame=b'\xf7\x90\x01Y\x00\xc3/\xdc\xe1f\x08\x01\x88\x17\x00\xbc\xcb\x01)9')
2024-11-12 17:59:23.604 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:23.604 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:23.605 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0x2FC3, 'sourceEui': 00:17:88:01:08:66:e1:dc, 'lastHopLqi': 188, 'lastHopRssi': -53, 'relayList': [0x3929]}
2024-11-12 17:59:23.605 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x2FC3, 00:17:88:01:08:66:e1:dc, 188, -53, [0x3929]]
2024-11-12 17:59:23.605 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x2FC3, 00:17:88:01:08:66:e1:dc, 188, -53, [0x3929])
2024-11-12 17:59:23.605 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:08:66:e1:dc, 'relays': b'\x01)9'})
2024-11-12 17:59:23.605 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:08:66:e1:dc, 'relays': b'\x01)9'}) completed
2024-11-12 17:59:23.605 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:23.606 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:23.690 DEBUG (bellows.thread_0) [bellows.ash] Received data 41b5b1a97d312a15b658944e27ab5593499c46e7672ee19874f5ce8c83fc7d5e1e2fe3c905ee7e
2024-11-12 17:59:23.690 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=1, ezsp_frame=b'\xf7\x90\x01E\x00\x00\x04\x01\x00\x04\x02\x01\x00\x01\x00\x00\x08\xc0\xcc\xc3/\xff\xff\x08\x08\xef\n\x00\x00!\x88\x08\x04')
2024-11-12 17:59:23.690 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:23.690 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:23.691 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=2, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=8), 'lastHopLqi': 192, 'lastHopRssi': -52, 'sender': 0x2FC3, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x08\xef\n\x00\x00!\x88\x08'}
2024-11-12 17:59:23.691 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:23.691 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=2, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=8), 192, -52, 0x2FC3, 255, 255, b'\x08\xef\n\x00\x00!\x88\x08']
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 23, 691306, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FC3), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=8, profile_id=260, cluster_id=1024, data=Serialized[b'\x08\xef\n\x00\x00!\x88\x08'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Received ZCL frame: b'\x08\xef\n\x00\x00!\x88\x08'
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x08>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=239, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Decoded ZCL frame: IlluminanceMeasurement:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=2184))])
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Received command 0x0A (TSN 239): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint16_t, value=2184))])
2024-11-12 17:59:23.691 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Attribute report received: measured_value=2184
2024-11-12 17:59:23.691 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2FC3:2:0x0400]: cluster_handler[illuminance] attribute_updated - cluster[Illuminance Measurement] attr[measured_value] value[2184]
2024-11-12 17:59:23.692 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=0, attribute_name='measured_value', attribute_value=2184, cluster_handler_unique_id='00:17:88:01:08:66:e1:dc:2:0x0400', cluster_id=1024, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-12 17:59:23.692 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:17:88:01:08:66:e1:dc-2-1024', device_ieee=00:17:88:01:08:66:e1:dc, endpoint_id=2, group_id=None) (1 listeners)
2024-11-12 17:59:23.692 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.philips_sml001_illuminance: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:17:88:01:08:66:e1:dc-2-1024', device_ieee=00:17:88:01:08:66:e1:dc, endpoint_id=2, group_id=None)
2024-11-12 17:59:23.692 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Sending reply header: ZCLHeader(frame_control=FrameControl<0x10>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=239, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:23.692 DEBUG (MainThread) [zigpy.zcl] [0x2FC3:2:0x0400] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2024-11-12 17:59:23.692 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 23, 692722, tzinfo=datetime.timezone.utc), priority=<PacketPriority.LOW: -1>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=2, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FC3), dst_ep=2, source_route=None, extended_timeout=False, tsn=239, profile_id=260, cluster_id=1024, data=Serialized[b'\x10\xef\x0b\n\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:23.692 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x2FC3, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=239), 'messageTag': 75, 'messageContents': b'\x10\xef\x0b\n\x00'}
2024-11-12 17:59:23.693 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=1, re_tx=False, ack_num=5, ezsp_frame=b'\xf8\x00\x014\x00\x00\xc3/\x04\x01\x00\x04\x02\x02@\x01\x00\x00\xefK\x05\x10\xef\x0b\n\x00') + FLAG
2024-11-12 17:59:23.693 DEBUG (bellows.thread_0) [bellows.ash] Sending data  15ba21a9602a157176904b25ae5790099d4e2744a6cb7764f6cc638d7c7e
2024-11-12 17:59:23.693 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430763.691306, 'ieee': 00:17:88:01:08:66:e1:dc, 'min_update_delta': 30.0})
2024-11-12 17:59:23.693 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430763.691306, 'ieee': 00:17:88:01:08:66:e1:dc, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:23.694 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:23.694 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:23.696 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:17:88:01:08:66:e1:dc, 'endpoint_id': 2, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1024, 'attr_id': 0, 'value': 2184, 'timestamp': 1731430763.691978, 'min_update_delta': 30.0})
2024-11-12 17:59:23.696 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:17:88:01:08:66:e1:dc, 'endpoint_id': 2, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1024, 'attr_id': 0, 'value': 2184, 'timestamp': 1731430763.691978, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:23.696 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:23.696 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:23.702 DEBUG (bellows.thread_0) [bellows.ash] Received data 52baa1a9602a15ffa8f57e
2024-11-12 17:59:23.702 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=2, ezsp_frame=b'\xf8\x80\x014\x00\x00M')
2024-11-12 17:59:23.702 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:23.702 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:23.702 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 77}
2024-11-12 17:59:24.609 DEBUG (MainThread) [zha.decorators] [<Task pending name='sensor_state_poller_00:15:8d:00:02:17:87:89-1-2820_PolledElectricalMeasurement' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.platforms.sensor::PollableSensor._refresh]
2024-11-12 17:59:24.609 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:02:17:87:89-1-2820: polling for updated state
2024-11-12 17:59:24.609 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:02:17:87:89-1-2820: polling current state
2024-11-12 17:59:24.609 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: async_update
2024-11-12 17:59:24.609 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
2024-11-12 17:59:24.609 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl<0x00>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:24.609 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
2024-11-12 17:59:24.610 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 24, 610020, tzinfo=datetime.timezone.utc), priority=<PacketPriority.NORMAL: 0>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x67A5), dst_ep=1, source_route=None, extended_timeout=False, tsn=101, profile_id=260, cluster_id=2820, data=Serialized[b'\x00e\x00\x0b\x05\x08\x05\x05\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:24.610 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x67A5, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=101), 'messageTag': 76, 'messageContents': b'\x00e\x00\x0b\x05\x08\x05\x05\x05'}
2024-11-12 17:59:24.610 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=2, re_tx=False, ack_num=6, ezsp_frame=b'\xf9\x00\x014\x00\x00\xa5g\x04\x01\x04\x0b\x01\x01@\x01\x00\x00eL\t\x00e\x00\x0b\x05\x08\x05\x05\x05') + FLAG
2024-11-12 17:59:24.610 DEBUG (bellows.thread_0) [bellows.ash] Sending data  26bb21a9602a15173e904b21a15493099d4e27cea1c767eefdcd6681f97b3a2faf7e
2024-11-12 17:59:24.620 DEBUG (bellows.thread_0) [bellows.ash] Received data 63bba1a9602a15fc21f87e
2024-11-12 17:59:24.620 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x80\x014\x00\x00N')
2024-11-12 17:59:24.620 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:24.620 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:24.620 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 78}
2024-11-12 17:59:24.642 DEBUG (bellows.thread_0) [bellows.ash] Received data 73bbb1a96b2a15173e904b21a15493099d4e27e5a1ce6798da7e
2024-11-12 17:59:24.642 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01?\x00\x00\xa5g\x04\x01\x04\x0b\x01\x01@\x01\x00\x00NL\x00\x00')
2024-11-12 17:59:24.642 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:24.642 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:24.642 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 26533, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=78), 'messageTag': 76, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:24.642 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 26533, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=78), 76, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:24.657 DEBUG (bellows.thread_0) [bellows.ash] Received data 03bbb1a97d312a15b658904124ab1593499cd4b36a48a99874e8de0688f77b3f8e77cdd66a8fde10d8d0d769adae23a2ae7e
2024-11-12 17:59:24.657 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01E\x00\x00\x04\x01\x04\x0b\x01\x01@\x01\x00\x00\x9a\x94\xc1\xa5g\xff\xff\x15\x18e\x01\x0b\x05\x00)\x9c\x00\x08\x05\x00!\xd7\x03\x05\x05\x00!\xe8\x00')
2024-11-12 17:59:24.657 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:24.657 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:24.658 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=154), 'lastHopLqi': 148, 'lastHopRssi': -63, 'sender': 0x67A5, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18e\x01\x0b\x05\x00)\x9c\x00\x08\x05\x00!\xd7\x03\x05\x05\x00!\xe8\x00'}
2024-11-12 17:59:24.658 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=154), 148, -63, 0x67A5, 255, 255, b'\x18e\x01\x0b\x05\x00)\x9c\x00\x08\x05\x00!\xd7\x03\x05\x05\x00!\xe8\x00']
2024-11-12 17:59:24.658 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 24, 658499, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x67A5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=154, profile_id=260, cluster_id=2820, data=Serialized[b'\x18e\x01\x0b\x05\x00)\x9c\x00\x08\x05\x00!\xd7\x03\x05\x05\x00!\xe8\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=148, rssi=-63)
2024-11-12 17:59:24.658 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Received ZCL frame: b'\x18e\x01\x0b\x05\x00)\x9c\x00\x08\x05\x00!\xd7\x03\x05\x05\x00!\xe8\x00'
2024-11-12 17:59:24.658 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=101, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:24.659 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Decoded ZCL frame: ElectricalMeasurementClusterInnr:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=1291, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=156)), ReadAttributeRecord(attrid=1288, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=983)), ReadAttributeRecord(attrid=1285, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=232))])
2024-11-12 17:59:24.659 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[156]
2024-11-12 17:59:24.659 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value=156, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.659 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None) (1 listeners)
2024-11-12 17:59:24.659 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.innr_sp_120_power_2: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None)
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[983]
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value=983, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[232]
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value=232, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[active_power]
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value='active_power', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[rms_current]
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value='rms_current', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[rms_voltage]
2024-11-12 17:59:24.660 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value='rms_voltage', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:24.660 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430764.658499, 'ieee': 00:15:8d:00:02:17:87:89, 'min_update_delta': 30.0})
2024-11-12 17:59:24.660 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430764.658499, 'ieee': 00:15:8d:00:02:17:87:89, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:24.661 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:24.661 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:24.662 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 156, 'timestamp': 1731430764.659679, 'min_update_delta': 30.0})
2024-11-12 17:59:24.662 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 156, 'timestamp': 1731430764.659679, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:24.662 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:24.662 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:24.663 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 983, 'timestamp': 1731430764.660067, 'min_update_delta': 30.0})
2024-11-12 17:59:24.663 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 983, 'timestamp': 1731430764.660067, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:24.663 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:24.663 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:24.663 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430764.660165, 'min_update_delta': 30.0})
2024-11-12 17:59:24.664 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430764.660165, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:24.664 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:24.664 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:25.123 DEBUG (bellows.thread_0) [bellows.ash] Received data 7d33bbb1a90d2ad69d85752c2dabdd854924842682d47a807e
2024-11-12 17:59:25.123 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01Y\x00\xc3/\xdc\xe1f\x08\x01\x88\x17\x00\xb8\xca\x01)9')
2024-11-12 17:59:25.123 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:25.123 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:25.123 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0x2FC3, 'sourceEui': 00:17:88:01:08:66:e1:dc, 'lastHopLqi': 184, 'lastHopRssi': -54, 'relayList': [0x3929]}
2024-11-12 17:59:25.123 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x2FC3, 00:17:88:01:08:66:e1:dc, 184, -54, [0x3929]]
2024-11-12 17:59:25.123 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x2FC3, 00:17:88:01:08:66:e1:dc, 184, -54, [0x3929])
2024-11-12 17:59:25.124 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:08:66:e1:dc, 'relays': b'\x01)9'})
2024-11-12 17:59:25.124 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:08:66:e1:dc, 'relays': b'\x01)9'}) completed
2024-11-12 17:59:25.124 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:25.124 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:25.208 DEBUG (bellows.thread_0) [bellows.ash] Received data 23bbb1a96b2a157176904b25ae5790099d4e27e6a6ce676a9f7e
2024-11-12 17:59:25.208 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01?\x00\x00\xc3/\x04\x01\x00\x04\x02\x02@\x01\x00\x00MK\x00\x00')
2024-11-12 17:59:25.208 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:25.208 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:25.208 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 12227, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=77), 'messageTag': 75, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:25.208 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 12227, EmberApsFrame(profileId=260, clusterId=1024, sourceEndpoint=2, destinationEndpoint=2, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=77), 75, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:25.708 DEBUG (bellows.thread_0) [bellows.ash] Received data 33bbb1a97d312a15b658964d21ab1593499c40e366939d9874f4de6983fc7a1585ebcddc51467e
2024-11-12 17:59:25.709 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01E\x00\x00\x04\x01\x02\x07\x04\x01@\x01\x00\x00\x0e\xc4\xcd~S\xff\xff\t\x18\n\n\x00\x04*"\x00\x00\x02')
2024-11-12 17:59:25.709 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:25.709 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:25.709 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=14), 'lastHopLqi': 196, 'lastHopRssi': -51, 'sender': 0x537E, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\n\n\x00\x04*"\x00\x00'}
2024-11-12 17:59:25.709 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:25.709 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1794, sourceEndpoint=4, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=14), 196, -51, 0x537E, 255, 255, b'\x18\n\n\x00\x04*"\x00\x00']
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 25, 709381, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=14, profile_id=260, cluster_id=1794, data=Serialized[b'\x18\n\n\x00\x04*"\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=196, rssi=-51)
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received ZCL frame: b'\x18\n\n\x00\x04*"\x00\x00'
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=10, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Decoded ZCL frame: Metering:Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=34))])
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Received command 0x0A (TSN 10): Report_Attributes(attribute_reports=[Attribute(attrid=0x0400, value=TypeValue(type=int24s, value=34))])
2024-11-12 17:59:25.709 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0702] Attribute report received: instantaneous_demand=34
2024-11-12 17:59:25.709 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0702]: cluster_handler[smartenergy_metering] attribute_updated - cluster[Metering] attr[instantaneous_demand] value[34]
2024-11-12 17:59:25.709 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1024, attribute_name='instantaneous_demand', attribute_value=34, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0702', cluster_id=1794, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:25.710 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:25.710 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_instantaneous_demand: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-1794', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:25.711 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430765.709381, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0})
2024-11-12 17:59:25.711 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430765.709381, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:25.711 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:25.712 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:25.712 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 34, 'timestamp': 1731430765.709931, 'min_update_delta': 30.0})
2024-11-12 17:59:25.712 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1794, 'attr_id': 1024, 'value': 34, 'timestamp': 1731430765.709931, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:25.712 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:25.712 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:27.416 DEBUG (bellows.thread_0) [bellows.ash] Received data 43bbb1a90d2ac39d7d5d3ebe24aad8874920852607acf66a7e
2024-11-12 17:59:27.416 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01Y\x00\xd6/$\xaa\xf4\x01\x00\x8d\x15\x00\xbc\xcb\x01\xacA')
2024-11-12 17:59:27.416 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:27.416 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:27.417 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0x2FD6, 'sourceEui': 00:15:8d:00:01:f4:aa:24, 'lastHopLqi': 188, 'lastHopRssi': -53, 'relayList': [0x41AC]}
2024-11-12 17:59:27.417 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x2FD6, 00:15:8d:00:01:f4:aa:24, 188, -53, [0x41AC]]
2024-11-12 17:59:27.417 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x2FD6, 00:15:8d:00:01:f4:aa:24, 188, -53, [0x41AC])
2024-11-12 17:59:27.417 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:15:8d:00:01:f4:aa:24, 'relays': b'\x01\xacA'})
2024-11-12 17:59:27.417 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:15:8d:00:01:f4:aa:24, 'relays': b'\x01\xacA'}) completed
2024-11-12 17:59:27.417 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:27.417 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:27.466 DEBUG (bellows.thread_0) [bellows.ash] Received data 53bbb1a97d312a15b658924e24ab5593499cb39b603be19874fade7483fc7d5e27a6ef7d33d47e
2024-11-12 17:59:27.466 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=3, ezsp_frame=b'\xf9\x90\x01E\x00\x00\x04\x01\x06\x04\x01\x01\x00\x01\x00\x00\xfd\xbc\xcb\xd6/\xff\xff\x07\x18\x17\n\x00\x00\x18\x01\x04')
2024-11-12 17:59:27.466 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:27.466 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:27.467 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=253), 'lastHopLqi': 188, 'lastHopRssi': -53, 'sender': 0x2FD6, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\x17\n\x00\x00\x18\x01'}
2024-11-12 17:59:27.467 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:27.467 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=1030, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_ENABLE_ROUTE_DISCOVERY: 256>, groupId=0, sequence=253), 188, -53, 0x2FD6, 255, 255, b'\x18\x17\n\x00\x00\x18\x01']
2024-11-12 17:59:27.467 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 27, 467406, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2FD6), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=253, profile_id=260, cluster_id=1030, data=Serialized[b'\x18\x17\n\x00\x00\x18\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=188, rssi=-53)
2024-11-12 17:59:27.467 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0406] Received ZCL frame: b'\x18\x17\n\x00\x00\x18\x01'
2024-11-12 17:59:27.467 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0406] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=23, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:27.468 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0406] Decoded ZCL frame: OccupancyCluster:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8: 1>))])
2024-11-12 17:59:27.468 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0406] Received command 0x0A (TSN 23): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=bitmap8, value=<bitmap8: 1>))])
2024-11-12 17:59:27.468 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0406] Attribute report received: occupancy=<bitmap8: 1>
2024-11-12 17:59:27.468 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2FD6:1:0x0406]: cluster_handler[occupancy] attribute_updated - cluster[Occupancy Sensing] attr[occupancy] value[1]
2024-11-12 17:59:27.468 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=0, attribute_name='occupancy', attribute_value=<Occupancy.Occupied: 1>, cluster_handler_unique_id='00:15:8d:00:01:f4:aa:24:1:0x0406', cluster_id=1030, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-12 17:59:27.468 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2FD6:1:0x0500]: cluster_handler[ias_zone] attribute_updated - cluster[IAS Zone] attr[zone_status] value[1]
2024-11-12 17:59:27.468 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=2, attribute_name='zone_status', attribute_value=1, cluster_handler_unique_id='00:15:8d:00:01:f4:aa:24:1:0x0500', cluster_id=1280, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (1 listeners)
2024-11-12 17:59:27.468 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2FD6:1:0x0500]: Updated alarm state: 1
2024-11-12 17:59:27.468 DEBUG (MainThread) [zigpy.zcl] [0x2FD6:1:0x0500] 00:15:8d:00:01:f4:aa:24 - Received motion event message
2024-11-12 17:59:27.469 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430767.467406, 'ieee': 00:15:8d:00:01:f4:aa:24, 'min_update_delta': 30.0})
2024-11-12 17:59:27.469 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430767.467406, 'ieee': 00:15:8d:00:01:f4:aa:24, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:f4:aa:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1030, 'attr_id': 0, 'value': <Occupancy.Occupied: 1>, 'timestamp': 1731430767.468423, 'min_update_delta': 30.0})
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:f4:aa:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1030, 'attr_id': 0, 'value': <Occupancy.Occupied: 1>, 'timestamp': 1731430767.468423, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:27.470 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:27.471 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:f4:aa:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1280, 'attr_id': 2, 'value': 1, 'timestamp': 1731430767.468566, 'min_update_delta': 30.0})
2024-11-12 17:59:27.471 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:f4:aa:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 1280, 'attr_id': 2, 'value': 1, 'timestamp': 1731430767.468566, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:27.471 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:27.471 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:30.819 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:30.819 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:30.820 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=3, re_tx=False, ack_num=6, ezsp_frame=b'\xfa\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:30.820 DEBUG (bellows.thread_0) [bellows.ash] Sending data  36b821a9a52a853a7e
2024-11-12 17:59:30.833 DEBUG (bellows.thread_0) [bellows.ash] Received data 64b8a1a9a52ab7b5ca941b26a957ad49964e2fabe5ce3d8a0cc66389fe7d5e3aa783cdb66fc6ffc7dbd5d2698c4623a9ec7d5d3ba5ea7582419800267d33b1e0
2024-11-12 17:59:30.838 DEBUG (bellows.thread_0) [bellows.ash] Received data 70381c0e07bbe5ca65b9459a4d9e4f9ff7c3d9d46a35a251904824a6ed7e
2024-11-12 17:59:30.838 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=4, ezsp_frame=b'\xfa\x80\x01\xf1\x00\xa2\x07\x93\x00Q\x03\x03\x02?\x00\n\x00\x08\x00\x08\x00Z\x01\xf1\x00\x00\x00\x02\x00\x05\x00h\x00h\x00I\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00L\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x003\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:30.838 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:30.838 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:30.839 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1954, 147, 849, 515, 63, 10, 8, 8, 346, 241, 0, 2, 5, 104, 104, 73, 0, 0, 0, 0, 0, 11, 0, 0, 0, 76, 0, 0, 0, 0, 0, 0, 51, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:30.839 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:30.840 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=4, re_tx=False, ack_num=7, ezsp_frame=b'\xfb\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:30.840 DEBUG (bellows.thread_0) [bellows.ash] Sending data  47b921a9fe2a165e457e
2024-11-12 17:59:30.847 DEBUG (bellows.thread_0) [bellows.ash] Received data 75b9a1a9fe2a15b3a55b0c7e
2024-11-12 17:59:30.847 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=5, ezsp_frame=b'\xfb\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:30.847 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:30.847 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:30.848 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:30.848 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:30.848 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31514, MAC_TX_BROADCAST = 1754, MAC_RX_UNICAST = 9063, MAC_TX_UNICAST_SUCCESS = 5941, MAC_TX_UNICAST_RETRY = 339, MAC_TX_UNICAST_FAILED = 31, APS_DATA_RX_BROADCAST = 83, APS_DATA_TX_BROADCAST = 83, APS_DATA_RX_UNICAST = 3472, APS_DATA_TX_UNICAST_SUCCESS = 3081, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 441, NEIGHBOR_REMOVED = 425, NEIGHBOR_STALE = 222, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 65, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1103, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 190, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.decorators] [<Task pending name='device-availability-checker_DeviceAvailabilityChecker' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.helpers::DeviceAvailabilityChecker.check_device_availability]
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.application.helpers] Device availability checker interval starting
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.application.helpers] Checking device availability
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xAEB9](RDM002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xAEB9](RDM002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x27C0](TRADFRI wireless dimmer): last_seen is 27151.575672626495 seconds ago and ping attempts have been exhausted, marking the device unavailable
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x27C0](TRADFRI wireless dimmer): Update device availability -  device available: False - new availability: False - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x3929](LTW001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x3929](LTW001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x2E52](SP 120): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x2E52](SP 120): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x8D7D](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x8D7D](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xB937](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xB937](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x9E8F](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x9E8F](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x4712](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x4712](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xBB57](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xBB57](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x28B4](LCT010): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x28B4](LCT010): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xDEBE](LWO003): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xDEBE](LWO003): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x41AC](440400982841): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x41AC](440400982841): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xBBE5](LCT024): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xBBE5](LCT024): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x2F77](lumi.sensor_switch): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x2F77](lumi.sensor_switch): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x67F3](LCT010): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x67F3](LCT010): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x249B](LCT010): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x249B](LCT010): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x7E23](lumi.sensor_motion): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x7E23](lumi.sensor_motion): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x1075](LOM001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x1075](LOM001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x393E](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x393E](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xD4B9](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xD4B9](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xA332](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xA332](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xA234](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0xA234](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x1782](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.117 DEBUG (MainThread) [zha.zigbee.device] [0x1782](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xA465](lumi.remote.b1acn01): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xA465](lumi.remote.b1acn01): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x537E](D1 (5503)): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x537E](D1 (5503)): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x7D9B](LCT003): last_seen is 69065.24834179878 seconds ago and ping attempts have been exhausted, marking the device unavailable
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x7D9B](LCT003): Update device availability -  device available: False - new availability: False - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xEB74](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xEB74](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x648C](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x648C](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xDC3A](ROM001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xDC3A](ROM001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x8AC9](lumi.remote.b1acn01): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x8AC9](lumi.remote.b1acn01): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6ED7](lumi.sensor_magnet): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6ED7](lumi.sensor_magnet): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x75BA](lumi.sensor_magnet): last_seen is 4365675.817357302 seconds ago and ping attempts have been exhausted, marking the device unavailable
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x75BA](lumi.sensor_magnet): Update device availability -  device available: False - new availability: False - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2A8D](Dimmer-Switch-ZB3.0): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2A8D](Dimmer-Switch-ZB3.0): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x47DF](LST002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x47DF](LST002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2FC3](SML001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2FC3](SML001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xEFAD](SML002): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xEFAD](SML002): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6B5B](LCT024): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6B5B](LCT024): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6F19](RH3001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x6F19](RH3001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xE36F](lumi.remote.b286acn01): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xE36F](lumi.remote.b286acn01): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x67A5](SP 120): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x67A5](SP 120): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2FD6](lumi.sensor_motion): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x2FD6](lumi.sensor_motion): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xDF2D](lumi.sensor_motion): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xDF2D](lumi.sensor_motion): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x28E8](ROM001): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x28E8](ROM001): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x4D8A](PARASOLL Door/Window Sensor): last_seen is 2936803.2425584793 seconds ago and ping attempts have been exhausted, marking the device unavailable
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0x4D8A](PARASOLL Door/Window Sensor): Update device availability -  device available: False - new availability: False - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xBC79](TRADFRI remote control): Device seen - marking the device available and resetting counter
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.zigbee.device] [0xBC79](TRADFRI remote control): Update device availability -  device available: True - new availability: True - changed: False
2024-11-12 17:59:33.118 DEBUG (MainThread) [zha.application.helpers] Device availability checker interval finished
2024-11-12 17:59:34.248 DEBUG (MainThread) [zha.decorators] [<Task pending name='global-updater_GlobalUpdater' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.helpers::GlobalUpdater.update_listeners]
2024-11-12 17:59:34.248 DEBUG (MainThread) [zha.application.helpers] Global updater interval starting
2024-11-12 17:59:34.248 DEBUG (MainThread) [zha.application.helpers] Global updater interval finished
2024-11-12 17:59:36.964 DEBUG (bellows.thread_0) [bellows.ash] Received data 05b9b1a97d312a7d31b259944a25aa5592499cb0e76740219874f62734a07f80c0261d41de6f8b35f27e
2024-11-12 17:59:36.964 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=5, ezsp_frame=b'\xfb\x90\x01E\x00\x04\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xc0\xcc\xad\xef\xff\xff\x0b\xe1W)\x83\xfe\xff\x81\xf6\x8c\x00\x00\x04')
2024-11-12 17:59:36.964 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:36.964 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:36.965 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_BROADCAST: 4>, 'apsFrame': EmberApsFrame(profileId=0, clusterId=0, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=254), 'lastHopLqi': 192, 'lastHopRssi': -52, 'sender': 0xEFAD, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\xe1W)\x83\xfe\xff\x81\xf6\x8c\x00\x00'}
2024-11-12 17:59:36.965 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:36.965 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_BROADCAST: 4>, EmberApsFrame(profileId=0, clusterId=0, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=254), 192, -52, 0xEFAD, 255, 255, b'\xe1W)\x83\xfe\xff\x81\xf6\x8c\x00\x00']
2024-11-12 17:59:36.965 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 36, 965878, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xEFAD), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.Broadcast: 15>, address=<BroadcastAddress.ALL_ROUTERS_AND_COORDINATOR: 65532>), dst_ep=0, source_route=None, extended_timeout=False, tsn=254, profile_id=0, cluster_id=0, data=Serialized[b'\xe1W)\x83\xfe\xff\x81\xf6\x8c\x00\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2024-11-12 17:59:36.966 DEBUG (MainThread) [zigpy.zdo] [0xefad:zdo] ZDO request ZDOCmd.NWK_addr_req: [8c:f6:81:ff:fe:83:29:57, <AddrRequestType.Single: 0>, 0]
2024-11-12 17:59:36.966 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 36, 966496, tzinfo=datetime.timezone.utc), priority=<PacketPriority.LOW: -1>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=0, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xEFAD), dst_ep=0, source_route=None, extended_timeout=False, tsn=225, profile_id=0, cluster_id=<ZDOCmd.NWK_addr_rsp: 0x8000>, data=Serialized[b'\xe1\x00W)\x83\xfe\xff\x81\xf6\x8c\x00\x00\x00\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:36.966 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0xEFAD, 'apsFrame': EmberApsFrame(profileId=0, clusterId=32768, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=225), 'messageTag': 77, 'messageContents': b'\xe1\x00W)\x83\xfe\xff\x81\xf6\x8c\x00\x00\x00\x00'}
2024-11-12 17:59:36.967 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=5, re_tx=False, ack_num=1, ezsp_frame=b'\xfc\x00\x014\x00\x00\xad\xef\x00\x00\x00\x80\x00\x00@\x01\x00\x00\xe1M\x0e\xe1\x00W)\x83\xfe\xff\x81\xf6\x8c\x00\x00\x00\x00') + FLAG
2024-11-12 17:59:36.967 DEBUG (bellows.thread_0) [bellows.ash] Sending data  51be21a9602a151fb6944a252a5592099d4e274aa0c0868baaefe07703ffc92bebcdde6f632e7e
2024-11-12 17:59:36.967 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430776.965878, 'ieee': 00:17:88:01:06:47:ce:dd, 'min_update_delta': 30.0})
2024-11-12 17:59:36.967 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430776.965878, 'ieee': 00:17:88:01:06:47:ce:dd, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:36.967 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:36.967 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:36.977 DEBUG (bellows.thread_0) [bellows.ash] Received data 16bea1a9602a15e253127e
2024-11-12 17:59:36.977 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x80\x014\x00\x00P')
2024-11-12 17:59:36.977 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:36.977 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:36.977 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 80}
2024-11-12 17:59:38.026 DEBUG (bellows.thread_0) [bellows.ash] Received data 26beb1a96b2a7d334ea6944a25aa5592499c4e275512ce67f8367e
2024-11-12 17:59:38.026 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x90\x01?\x00\x06\xfc\xff\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\xfe\xff\x00\x00')
2024-11-12 17:59:38.026 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:38.026 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:38.026 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_BROADCAST: 6>, 'indexOrDestination': 65532, 'apsFrame': EmberApsFrame(profileId=0, clusterId=0, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=254), 'messageTag': 255, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:38.026 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_BROADCAST: 6>, 65532, EmberApsFrame(profileId=0, clusterId=0, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_NONE: 0>, groupId=0, sequence=254), 255, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:38.026 DEBUG (MainThread) [bellows.zigbee.application] Unexpected message send notification tag: (65532, 255)
2024-11-12 17:59:38.427 DEBUG (bellows.thread_0) [bellows.ash] Received data 36beb1a90d2ab85d845a0d23abdd85492c86261fc5ecfe7e
2024-11-12 17:59:38.427 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x90\x01Y\x00\xad\xef\xdd\xceG\x06\x01\x88\x17\x00\xb0\xc8\x01\xb4(')
2024-11-12 17:59:38.427 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:38.427 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:38.427 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0xEFAD, 'sourceEui': 00:17:88:01:06:47:ce:dd, 'lastHopLqi': 176, 'lastHopRssi': -56, 'relayList': [0x28B4]}
2024-11-12 17:59:38.427 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4]]
2024-11-12 17:59:38.428 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4])
2024-11-12 17:59:38.428 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('})
2024-11-12 17:59:38.428 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('}) completed
2024-11-12 17:59:38.428 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:38.428 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:38.512 DEBUG (bellows.thread_0) [bellows.ash] Received data 46beb1a96b2a151fb6944a252a5592099d4e27fba0ce676d6a7e
2024-11-12 17:59:38.512 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x90\x01?\x00\x00\xad\xef\x00\x00\x00\x80\x00\x00@\x01\x00\x00PM\x00\x00')
2024-11-12 17:59:38.512 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:38.512 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:38.513 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 61357, 'apsFrame': EmberApsFrame(profileId=0, clusterId=32768, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=80), 'messageTag': 77, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:38.513 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 61357, EmberApsFrame(profileId=0, clusterId=32768, sourceEndpoint=0, destinationEndpoint=0, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=80), 77, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:38.518 DEBUG (bellows.thread_0) [bellows.ash] Received data 56beb1a90d2ab85d845a0d23abdd85492c86261fc5fa337e
2024-11-12 17:59:38.518 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x90\x01Y\x00\xad\xef\xdd\xceG\x06\x01\x88\x17\x00\xb0\xc8\x01\xb4(')
2024-11-12 17:59:38.518 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:38.518 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:38.518 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0xEFAD, 'sourceEui': 00:17:88:01:06:47:ce:dd, 'lastHopLqi': 176, 'lastHopRssi': -56, 'relayList': [0x28B4]}
2024-11-12 17:59:38.518 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4]]
2024-11-12 17:59:38.519 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4])
2024-11-12 17:59:38.519 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('})
2024-11-12 17:59:38.519 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('}) completed
2024-11-12 17:59:38.519 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:38.519 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:38.985 ERROR (MainThread) [custom_components.frigate.api] Error fetching information from http://192.168.1.84:5000/api/stats: 500, message='Internal Server Error', url='http://192.168.1.84:5000/api/stats'
2024-11-12 17:59:38.992 DEBUG (bellows.thread_0) [bellows.ash] Received data 66beb1a90d2ab85d845a0d23abdd85492c86261fc579457e
2024-11-12 17:59:38.992 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=6, ezsp_frame=b'\xfc\x90\x01Y\x00\xad\xef\xdd\xceG\x06\x01\x88\x17\x00\xb0\xc8\x01\xb4(')
2024-11-12 17:59:38.992 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:38.992 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:38.993 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0xEFAD, 'sourceEui': 00:17:88:01:06:47:ce:dd, 'lastHopLqi': 176, 'lastHopRssi': -56, 'relayList': [0x28B4]}
2024-11-12 17:59:38.993 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4]]
2024-11-12 17:59:38.993 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xEFAD, 00:17:88:01:06:47:ce:dd, 176, -56, [0x28B4])
2024-11-12 17:59:38.993 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('})
2024-11-12 17:59:38.993 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 00:17:88:01:06:47:ce:dd, 'relays': b'\x01\xb4('}) completed
2024-11-12 17:59:38.994 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:38.994 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:40.848 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:40.848 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:40.849 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=6, re_tx=False, ack_num=7, ezsp_frame=b'\xfd\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:40.849 DEBUG (bellows.thread_0) [bellows.ash] Sending data  67bf21a9a52ad7da7e
2024-11-12 17:59:40.862 DEBUG (bellows.thread_0) [bellows.ash] Received data 77bfa1a9a52ab8b5cf941d26ac57d049974e2eabe4ce3d8a0fc66389fe7d5e3aa783cdb66fc6ffc7dbd5d2698c4623a9ec7d5d3ba5ea7582419801267d33b1e0
2024-11-12 17:59:40.866 DEBUG (bellows.thread_0) [bellows.ash] Received data 70381c0e07bbe5ca65be459a4d9e4f9ff7c3d9d46a35a25190482429e77e
2024-11-12 17:59:40.866 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=7, ezsp_frame=b'\xfd\x80\x01\xf1\x00\xad\x07\x96\x00W\x03\x06\x02B\x00\x0b\x00\t\x00\t\x00Z\x01\xf2\x00\x00\x00\x02\x00\x05\x00h\x00h\x00I\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0b\x00\x00\x00\x00\x00\x00\x00M\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x004\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:40.866 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:40.866 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:40.866 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1965, 150, 855, 518, 66, 11, 9, 9, 346, 242, 0, 2, 5, 104, 104, 73, 0, 0, 0, 0, 0, 11, 0, 0, 0, 77, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:40.867 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:40.867 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=7, re_tx=False, ack_num=0, ezsp_frame=b'\xfe\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:40.867 DEBUG (bellows.thread_0) [bellows.ash] Sending data  70bc21a9fe2a165d8d7e
2024-11-12 17:59:40.873 DEBUG (bellows.thread_0) [bellows.ash] Received data 00bca1a9fe2a15b3a5cfa57e
2024-11-12 17:59:40.873 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=0, ezsp_frame=b'\xfe\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:40.873 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:40.873 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:40.873 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:40.874 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:40.874 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31525, MAC_TX_BROADCAST = 1757, MAC_RX_UNICAST = 9069, MAC_TX_UNICAST_SUCCESS = 5944, MAC_TX_UNICAST_RETRY = 342, MAC_TX_UNICAST_FAILED = 32, APS_DATA_RX_BROADCAST = 84, APS_DATA_TX_BROADCAST = 84, APS_DATA_RX_UNICAST = 3472, APS_DATA_TX_UNICAST_SUCCESS = 3082, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 441, NEIGHBOR_REMOVED = 425, NEIGHBOR_STALE = 222, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 65, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1104, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 191, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:42.327 DEBUG (MainThread) [zha.decorators] [<Task pending name='sensor_state_poller_00:1f:ee:00:00:00:3a:bf-4-2820_PolledElectricalMeasurement' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.platforms.sensor::PollableSensor._refresh]
2024-11-12 17:59:42.327 DEBUG (MainThread) [zha.application.platforms] 00:1f:ee:00:00:00:3a:bf-4-2820: polling for updated state
2024-11-12 17:59:42.327 DEBUG (MainThread) [zha.application.platforms] 00:1f:ee:00:00:00:3a:bf-4-2820: polling current state
2024-11-12 17:59:42.327 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: async_update
2024-11-12 17:59:42.327 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: Reading attributes in chunks: ['active_power', 'apparent_power', 'rms_current', 'rms_voltage', 'ac_frequency']
2024-11-12 17:59:42.327 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl<0x00>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=218, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:42.328 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1295, 1288, 1285, 768])
2024-11-12 17:59:42.328 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 42, 328175, tzinfo=datetime.timezone.utc), priority=<PacketPriority.NORMAL: 0>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), dst_ep=4, source_route=None, extended_timeout=False, tsn=218, profile_id=260, cluster_id=2820, data=Serialized[b'\x00\xda\x00\x0b\x05\x0f\x05\x08\x05\x05\x05\x00\x03'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:42.328 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x537E, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=218), 'messageTag': 78, 'messageContents': b'\x00\xda\x00\x0b\x05\x0f\x05\x08\x05\x05\x05\x00\x03'}
2024-11-12 17:59:42.328 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=0, re_tx=False, ack_num=1, ezsp_frame=b'\xff\x00\x014\x00\x00~S\x04\x01\x04\x0b\x04\x04@\x01\x00\x00\xdaN\r\x00\xda\x00\x0b\x05\x0f\x05\x08\x05\x05\x05\x00\x03') + FLAG
2024-11-12 17:59:42.328 DEBUG (bellows.thread_0) [bellows.ash] Sending data  01bd21a9602a15cc0a904b21a15196099d4e2771a3c36751fdcd6686f9763aa2eecddd7d38ca7e
2024-11-12 17:59:42.340 DEBUG (bellows.thread_0) [bellows.ash] Received data 7d31bda1a9602a15e35ca97e
2024-11-12 17:59:42.340 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=1, ezsp_frame=b'\xff\x80\x014\x00\x00Q')
2024-11-12 17:59:42.340 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:42.340 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:42.340 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 81}
2024-11-12 17:59:42.367 DEBUG (bellows.thread_0) [bellows.ash] Received data 21bdb1a96b2a15cc0a904b21a15196099d4e27faa3ce67ddb17e
2024-11-12 17:59:42.367 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=1, ezsp_frame=b'\xff\x90\x01?\x00\x00~S\x04\x01\x04\x0b\x04\x04@\x01\x00\x00QN\x00\x00')
2024-11-12 17:59:42.367 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:42.367 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:42.367 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 21374, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=81), 'messageTag': 78, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:42.367 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 21374, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=81), 78, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:42.379 DEBUG (bellows.thread_0) [bellows.ash] Received data 31bdb1a97d312a15b658904121ae1593499c41e767939d9874dcdeb988f77b3f8ec9cdd16a8fdee4dbddd769add823ace9767d3a4dea758141b9f9e77d313f7d
2024-11-12 17:59:42.381 DEBUG (bellows.thread_0) [bellows.ash] Received data 5d7e
2024-11-12 17:59:42.381 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=1, ezsp_frame=b'\xff\x90\x01E\x00\x00\x04\x01\x04\x0b\x04\x04@\x01\x00\x00\x0f\xc0\xcc~S\xff\xff!\x18\xda\x01\x0b\x05\x00)"\x00\x0f\x05\x00!#\x00\x08\x05\x00!\x9e\x00\x05\x05\x00!\xe8\x00\x00\x03\x00!\xb5\xc1\x02')
2024-11-12 17:59:42.381 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:42.381 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:42.381 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=15), 'lastHopLqi': 192, 'lastHopRssi': -52, 'sender': 0x537E, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18\xda\x01\x0b\x05\x00)"\x00\x0f\x05\x00!#\x00\x08\x05\x00!\x9e\x00\x05\x05\x00!\xe8\x00\x00\x03\x00!\xb5\xc1'}
2024-11-12 17:59:42.381 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:42.381 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=4, destinationEndpoint=4, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=15), 192, -52, 0x537E, 255, 255, b'\x18\xda\x01\x0b\x05\x00)"\x00\x0f\x05\x00!#\x00\x08\x05\x00!\x9e\x00\x05\x05\x00!\xe8\x00\x00\x03\x00!\xb5\xc1']
2024-11-12 17:59:42.381 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 42, 381891, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x537E), src_ep=4, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=4, source_route=None, extended_timeout=False, tsn=15, profile_id=260, cluster_id=2820, data=Serialized[b'\x18\xda\x01\x0b\x05\x00)"\x00\x0f\x05\x00!#\x00\x08\x05\x00!\x9e\x00\x05\x05\x00!\xe8\x00\x00\x03\x00!\xb5\xc1'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=192, rssi=-52)
2024-11-12 17:59:42.382 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0b04] Received ZCL frame: b'\x18\xda\x01\x0b\x05\x00)"\x00\x0f\x05\x00!#\x00\x08\x05\x00!\x9e\x00\x05\x05\x00!\xe8\x00\x00\x03\x00!\xb5\xc1'
2024-11-12 17:59:42.382 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=218, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:42.382 DEBUG (MainThread) [zigpy.zcl] [0x537E:4:0x0b04] Decoded ZCL frame: ElectricalMeasurement:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=1291, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=34)), ReadAttributeRecord(attrid=1295, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=35)), ReadAttributeRecord(attrid=1288, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=158)), ReadAttributeRecord(attrid=1285, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=232)), ReadAttributeRecord(attrid=768, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=49589))])
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[34]
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value=34, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[apparent_power] value[35]
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1295, attribute_name='apparent_power', attribute_value=35, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[158]
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value=158, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.382 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-2820-rms_current', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:42.382 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_current: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-2820-rms_current', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[232]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value=232, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-2820-rms_voltage', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None) (1 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.taklampa_hall_voltage: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:1f:ee:00:00:00:3a:bf-4-2820-rms_voltage', device_ieee=00:1f:ee:00:00:00:3a:bf, endpoint_id=4, group_id=None)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[ac_frequency] value[49589]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=768, attribute_name='ac_frequency', attribute_value=49589, cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[active_power]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value='active_power', cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[apparent_power] value[apparent_power]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1295, attribute_name='apparent_power', attribute_value='apparent_power', cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[rms_current]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value='rms_current', cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[rms_voltage]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value='rms_voltage', cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x537E:4:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[ac_frequency] value[ac_frequency]
2024-11-12 17:59:42.383 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=768, attribute_name='ac_frequency', attribute_value='ac_frequency', cluster_handler_unique_id='00:1f:ee:00:00:00:3a:bf:4:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (6 listeners)
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430782.381891, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0})
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430782.381891, 'ieee': 00:1f:ee:00:00:00:3a:bf, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 34, 'timestamp': 1731430782.382538, 'min_update_delta': 30.0})
2024-11-12 17:59:42.384 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 34, 'timestamp': 1731430782.382538, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1295, 'value': 35, 'timestamp': 1731430782.382661, 'min_update_delta': 30.0})
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1295, 'value': 35, 'timestamp': 1731430782.382661, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 158, 'timestamp': 1731430782.382728, 'min_update_delta': 30.0})
2024-11-12 17:59:42.385 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 158, 'timestamp': 1731430782.382728, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.386 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.386 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.387 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430782.383009, 'min_update_delta': 30.0})
2024-11-12 17:59:42.387 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 232, 'timestamp': 1731430782.383009, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.388 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.388 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.388 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 768, 'value': 49589, 'timestamp': 1731430782.383236, 'min_update_delta': 30.0})
2024-11-12 17:59:42.388 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:1f:ee:00:00:00:3a:bf, 'endpoint_id': 4, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 768, 'value': 49589, 'timestamp': 1731430782.383236, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.389 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.389 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.587 DEBUG (bellows.thread_0) [bellows.ash] Received data 41bdb1a90d2a61592b4616db5582f9413c8a269f4f2fe57e
2024-11-12 17:59:42.587 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=1, ezsp_frame=b'\xff\x90\x01Y\x00t\xebr\xd2\\\xfe\xff\xd7k\x08\xa0\xc4\x014\xa2')
2024-11-12 17:59:42.587 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:42.587 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:42.588 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0xEB74, 'sourceEui': 08:6b:d7:ff:fe:5c:d2:72, 'lastHopLqi': 160, 'lastHopRssi': -60, 'relayList': [0xA234]}
2024-11-12 17:59:42.588 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xEB74, 08:6b:d7:ff:fe:5c:d2:72, 160, -60, [0xA234]]
2024-11-12 17:59:42.588 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xEB74, 08:6b:d7:ff:fe:5c:d2:72, 160, -60, [0xA234])
2024-11-12 17:59:42.588 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'relays': b'\x014\xa2'})
2024-11-12 17:59:42.588 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'relays': b'\x014\xa2'}) completed
2024-11-12 17:59:42.588 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.588 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.637 DEBUG (bellows.thread_0) [bellows.ash] Received data 51bdb1a97d312a15b6589c4a24ab1593499c08bb6899259874face6683fc7d5e1fd0efd29f7e
2024-11-12 17:59:42.637 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=1, ezsp_frame=b'\xff\x90\x01E\x00\x00\x04\x01\x08\x00\x01\x01@\x01\x00\x00F\x9c\xc3t\xeb\xff\xff\x07\x08\x05\n\x00\x00 w\x04')
2024-11-12 17:59:42.637 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:42.637 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:42.637 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=70), 'lastHopLqi': 156, 'lastHopRssi': -61, 'sender': 0xEB74, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x08\x05\n\x00\x00 w'}
2024-11-12 17:59:42.637 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:42.637 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=70), 156, -61, 0xEB74, 255, 255, b'\x08\x05\n\x00\x00 w']
2024-11-12 17:59:42.637 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 42, 637629, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xEB74), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=70, profile_id=260, cluster_id=8, data=Serialized[b'\x08\x05\n\x00\x00 w'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=156, rssi=-61)
2024-11-12 17:59:42.637 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Received ZCL frame: b'\x08\x05\n\x00\x00 w'
2024-11-12 17:59:42.637 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x08>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=5, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:42.638 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Decoded ZCL frame: LevelControl:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=119))])
2024-11-12 17:59:42.638 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Received command 0x0A (TSN 5): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=uint8_t, value=119))])
2024-11-12 17:59:42.638 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Attribute report received: current_level=119
2024-11-12 17:59:42.638 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0xEB74:1:0x0008]: received attribute: 0 update with value: 119
2024-11-12 17:59:42.638 DEBUG (MainThread) [zha] Emitting event cluster_handler_level_changed with data LevelChangeEvent(level=119, event='cluster_handler_set_level', event_type='cluster_handler_event') (1 listeners)
2024-11-12 17:59:42.638 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Sending reply header: ZCLHeader(frame_control=FrameControl<0x10>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=5, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:42.638 DEBUG (MainThread) [zigpy.zcl] [0xEB74:1:0x0008] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2024-11-12 17:59:42.638 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 42, 638637, tzinfo=datetime.timezone.utc), priority=<PacketPriority.LOW: -1>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0xEB74), dst_ep=1, source_route=None, extended_timeout=False, tsn=5, profile_id=260, cluster_id=8, data=Serialized[b'\x10\x05\x0b\n\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:42.638 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0xEB74, 'apsFrame': EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=5), 'messageTag': 79, 'messageContents': b'\x10\x05\x0b\n\x00'}
2024-11-12 17:59:42.638 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430782.637629, 'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'min_update_delta': 30.0})
2024-11-12 17:59:42.639 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=1, re_tx=False, ack_num=6, ezsp_frame=b'\x00\x00\x014\x00\x00t\xeb\x04\x01\x08\x00\x01\x01@\x01\x00\x00\x05O\x05\x10\x05\x0b\n\x00') + FLAG
2024-11-12 17:59:42.639 DEBUG (bellows.thread_0) [bellows.ash] Sending data  164221a9602a15c6b2904b2daa5493099d4e27aea2cb778ef6cc63ef297e
2024-11-12 17:59:42.640 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430782.637629, 'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.640 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.640 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.641 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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': 08:6b:d7:ff:fe:5c:d2:72, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 8, 'attr_id': 0, 'value': 119, 'timestamp': 1731430782.638222, 'min_update_delta': 30.0})
2024-11-12 17:59:42.641 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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': 08:6b:d7:ff:fe:5c:d2:72, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 8, 'attr_id': 0, 'value': 119, 'timestamp': 1731430782.638222, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:42.641 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.641 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.650 DEBUG (bellows.thread_0) [bellows.ash] Received data 6242a1a9602a15e0b1c27e
2024-11-12 17:59:42.650 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=2, ezsp_frame=b'\x00\x80\x014\x00\x00R')
2024-11-12 17:59:42.650 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:42.650 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:42.651 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 82}
2024-11-12 17:59:42.687 DEBUG (bellows.thread_0) [bellows.ash] Received data 7242b1a90d2a61592b4616db5582f941048c269f4fb4317e
2024-11-12 17:59:42.687 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=2, ezsp_frame=b'\x00\x90\x01Y\x00t\xebr\xd2\\\xfe\xff\xd7k\x08\x98\xc2\x014\xa2')
2024-11-12 17:59:42.687 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:42.687 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:42.688 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0xEB74, 'sourceEui': 08:6b:d7:ff:fe:5c:d2:72, 'lastHopLqi': 152, 'lastHopRssi': -62, 'relayList': [0xA234]}
2024-11-12 17:59:42.688 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0xEB74, 08:6b:d7:ff:fe:5c:d2:72, 152, -62, [0xA234]]
2024-11-12 17:59:42.688 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0xEB74, 08:6b:d7:ff:fe:5c:d2:72, 152, -62, [0xA234])
2024-11-12 17:59:42.688 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'relays': b'\x014\xa2'})
2024-11-12 17:59:42.688 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d2:72, 'relays': b'\x014\xa2'}) completed
2024-11-12 17:59:42.689 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:42.689 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:42.733 DEBUG (bellows.thread_0) [bellows.ash] Received data 0242b1a96b2a15c6b2904b2daa5493099d4e27f9a2ce67c1937e
2024-11-12 17:59:42.733 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=2, ezsp_frame=b'\x00\x90\x01?\x00\x00t\xeb\x04\x01\x08\x00\x01\x01@\x01\x00\x00RO\x00\x00')
2024-11-12 17:59:42.733 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:42.733 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:42.734 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 60276, 'apsFrame': EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=82), 'messageTag': 79, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:42.734 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 60276, EmberApsFrame(profileId=260, clusterId=8, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=82), 79, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:47.640 DEBUG (MainThread) [zha.decorators] [<Task pending name='sensor_state_poller_00:15:8d:00:03:62:27:24-1-2820_PolledElectricalMeasurement' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.platforms.sensor::PollableSensor._refresh]
2024-11-12 17:59:47.640 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:03:62:27:24-1-2820: polling for updated state
2024-11-12 17:59:47.640 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:03:62:27:24-1-2820: polling current state
2024-11-12 17:59:47.640 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: async_update
2024-11-12 17:59:47.640 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
2024-11-12 17:59:47.640 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl<0x00>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:47.641 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
2024-11-12 17:59:47.641 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 47, 641253, tzinfo=datetime.timezone.utc), priority=<PacketPriority.NORMAL: 0>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2E52), dst_ep=1, source_route=None, extended_timeout=False, tsn=107, profile_id=260, cluster_id=2820, data=Serialized[b'\x00k\x00\x0b\x05\x08\x05\x05\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:47.641 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x2E52, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=107), 'messageTag': 80, 'messageContents': b'\x00k\x00\x0b\x05\x08\x05\x05\x05'}
2024-11-12 17:59:47.642 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=2, re_tx=False, ack_num=1, ezsp_frame=b'\x01\x00\x014\x00\x00R.\x04\x01\x04\x0b\x01\x01@\x01\x00\x00kP\t\x00k\x00\x0b\x05\x08\x05\x05\x05') + FLAG
2024-11-12 17:59:47.642 DEBUG (bellows.thread_0) [bellows.ash] Sending data  214321a9602a15e077904b21a15493099d4e27c0bdc767e0fdcd6681f97b3a158c7e
2024-11-12 17:59:47.652 DEBUG (bellows.thread_0) [bellows.ash] Received data 7d3343a1a9602a15e1ee5d7e
2024-11-12 17:59:47.652 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=3, ezsp_frame=b'\x01\x80\x014\x00\x00S')
2024-11-12 17:59:47.652 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:47.652 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:47.652 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 83}
2024-11-12 17:59:47.679 DEBUG (bellows.thread_0) [bellows.ash] Received data 2343b1a96b2a15e077904b21a15493099d4e27f8bdce67b1b87e
2024-11-12 17:59:47.679 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=3, ezsp_frame=b'\x01\x90\x01?\x00\x00R.\x04\x01\x04\x0b\x01\x01@\x01\x00\x00SP\x00\x00')
2024-11-12 17:59:47.679 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:47.679 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:47.679 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 11858, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=83), 'messageTag': 80, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:47.679 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 11858, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=83), 80, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:47.693 DEBUG (bellows.thread_0) [bellows.ash] Received data 3343b1a97d312a15b658904124ab1593499c73ef65bfe09874e8de0888f77b3f8ee5cdd66a8fde5ddbd0d769ada323ad9d1c7e
2024-11-12 17:59:47.693 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=3, ezsp_frame=b'\x01\x90\x01E\x00\x00\x04\x01\x04\x0b\x01\x01@\x01\x00\x00=\xc8\xceR.\xff\xff\x15\x18k\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9a\x00\x05\x05\x00!\xe5\x00\x04')
2024-11-12 17:59:47.693 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:47.693 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:47.694 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=61), 'lastHopLqi': 200, 'lastHopRssi': -50, 'sender': 0x2E52, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18k\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9a\x00\x05\x05\x00!\xe5\x00'}
2024-11-12 17:59:47.694 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x04'
2024-11-12 17:59:47.694 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=61), 200, -50, 0x2E52, 255, 255, b'\x18k\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9a\x00\x05\x05\x00!\xe5\x00']
2024-11-12 17:59:47.694 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 47, 694440, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2E52), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=61, profile_id=260, cluster_id=2820, data=Serialized[b'\x18k\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9a\x00\x05\x05\x00!\xe5\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=200, rssi=-50)
2024-11-12 17:59:47.694 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Received ZCL frame: b'\x18k\x01\x0b\x05\x00)\x0e\x00\x08\x05\x00!\x9a\x00\x05\x05\x00!\xe5\x00'
2024-11-12 17:59:47.694 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=107, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:47.695 DEBUG (MainThread) [zigpy.zcl] [0x2E52:1:0x0b04] Decoded ZCL frame: ElectricalMeasurementClusterInnr:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=1291, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=14)), ReadAttributeRecord(attrid=1288, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=154)), ReadAttributeRecord(attrid=1285, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=229))])
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[14]
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value=14, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[154]
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value=154, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[229]
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value=229, cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.695 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:03:62:27:24-1-2820-rms_voltage', device_ieee=00:15:8d:00:03:62:27:24, endpoint_id=1, group_id=None) (1 listeners)
2024-11-12 17:59:47.695 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.innr_sp_120_voltage: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:03:62:27:24-1-2820-rms_voltage', device_ieee=00:15:8d:00:03:62:27:24, endpoint_id=1, group_id=None)
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[active_power]
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value='active_power', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[rms_current]
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value='rms_current', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2E52:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[rms_voltage]
2024-11-12 17:59:47.696 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value='rms_voltage', cluster_handler_unique_id='00:15:8d:00:03:62:27:24:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:47.696 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430787.69444, 'ieee': 00:15:8d:00:03:62:27:24, 'min_update_delta': 30.0})
2024-11-12 17:59:47.696 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430787.69444, 'ieee': 00:15:8d:00:03:62:27:24, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:47.697 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:47.697 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:47.697 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 14, 'timestamp': 1731430787.695511, 'min_update_delta': 30.0})
2024-11-12 17:59:47.697 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 14, 'timestamp': 1731430787.695511, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:47.698 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:47.698 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:47.698 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 154, 'timestamp': 1731430787.695653, 'min_update_delta': 30.0})
2024-11-12 17:59:47.698 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 154, 'timestamp': 1731430787.695653, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 229, 'timestamp': 1731430787.695725, 'min_update_delta': 30.0})
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:03:62:27:24, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 229, 'timestamp': 1731430787.695725, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:47.699 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:50.874 DEBUG (MainThread) [zigpy.application] Feeding watchdog
2024-11-12 17:59:50.874 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  readCounters: () {}
2024-11-12 17:59:50.875 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=3, re_tx=False, ack_num=4, ezsp_frame=b'\x02\x00\x01\xf1\x00') + FLAG
2024-11-12 17:59:50.875 DEBUG (bellows.thread_0) [bellows.ash] Sending data  344021a9a52a33017e
2024-11-12 17:59:50.887 DEBUG (bellows.thread_0) [bellows.ash] Received data 4440a1a9a52aa3b5ce942a26a657d049974e2eabe4ce3a8a08c66389fe7d5e3aa783cdb66fc6ffc7dbd5d2698c4623a9ec7a3ba5ea7582419801267d33b1e070
2024-11-12 17:59:50.892 DEBUG (bellows.thread_0) [bellows.ash] Received data 381c0e07bbe5ca65be459a4d9e4f9ff7c3d9d46a35a251904824bec57e
2024-11-12 17:59:50.892 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=4, ezsp_frame=b'\x02\x80\x01\xf1\x00\xb6\x07\x97\x00`\x03\x0c\x02B\x00\x0b\x00\t\x00\t\x00]\x01\xf5\x00\x00\x00\x02\x00\x05\x00h\x00h\x00I\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x0c\x00\x00\x00\x00\x00\x00\x00M\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x004\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00')
2024-11-12 17:59:50.892 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:50.892 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:50.892 DEBUG (MainThread) [bellows.ezsp.protocol] Received command readCounters: {'values': [1974, 151, 864, 524, 66, 11, 9, 9, 349, 245, 0, 2, 5, 104, 104, 73, 0, 0, 0, 0, 0, 12, 0, 0, 0, 77, 0, 0, 0, 0, 0, 0, 52, 0, 0, 0, 0, 0, 0, 0, 0]}
2024-11-12 17:59:50.893 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  getValue: () {'valueId': <EzspValueId.VALUE_FREE_BUFFERS: 3>}
2024-11-12 17:59:50.894 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=4, re_tx=False, ack_num=5, ezsp_frame=b'\x03\x00\x01\xaa\x00\x03') + FLAG
2024-11-12 17:59:50.894 DEBUG (bellows.thread_0) [bellows.ash] Sending data  454121a9fe2a16a2587e
2024-11-12 17:59:50.901 DEBUG (bellows.thread_0) [bellows.ash] Received data 5541a1a9fe2a15b3a5afa77e
2024-11-12 17:59:50.901 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=5, ezsp_frame=b'\x03\x80\x01\xaa\x00\x00\x01\xfc')
2024-11-12 17:59:50.901 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:50.901 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:50.901 DEBUG (MainThread) [bellows.ezsp.protocol] Received command getValue: {'status': <EzspStatus.SUCCESS: 0>, 'value': b'\xfc'}
2024-11-12 17:59:50.901 DEBUG (MainThread) [bellows.zigbee.application] Free buffers status EzspStatus.SUCCESS, value: 252
2024-11-12 17:59:50.901 DEBUG (MainThread) [bellows.zigbee.application] ezsp_counters: [MAC_RX_BROADCAST = 31534, MAC_TX_BROADCAST = 1758, MAC_RX_UNICAST = 9078, MAC_TX_UNICAST_SUCCESS = 5950, MAC_TX_UNICAST_RETRY = 342, MAC_TX_UNICAST_FAILED = 32, APS_DATA_RX_BROADCAST = 84, APS_DATA_TX_BROADCAST = 84, APS_DATA_RX_UNICAST = 3475, APS_DATA_TX_UNICAST_SUCCESS = 3085, APS_DATA_TX_UNICAST_RETRY = 0, APS_DATA_TX_UNICAST_FAILED = 25, ROUTE_DISCOVERY_INITIATED = 58, NEIGHBOR_ADDED = 441, NEIGHBOR_REMOVED = 425, NEIGHBOR_STALE = 222, JOIN_INDICATION = 0, CHILD_REMOVED = 0, ASH_OVERFLOW_ERROR = 0, ASH_FRAMING_ERROR = 0, ASH_OVERRUN_ERROR = 0, NWK_FRAME_COUNTER_FAILURE = 66, APS_FRAME_COUNTER_FAILURE = 0, UTILITY = 0, APS_LINK_KEY_NOT_AUTHORIZED = 0, NWK_DECRYPTION_FAILURE = 1104, APS_DECRYPTION_FAILURE = 6, ALLOCATE_PACKET_BUFFER_FAILURE = 0, RELAYED_UNICAST = 0, PHY_TO_MAC_QUEUE_LIMIT_REACHED = 0, PACKET_VALIDATE_LIBRARY_DROPPED_COUNT = 0, TYPE_NWK_RETRY_OVERFLOW = 0, PHY_CCA_FAIL_COUNT = 191, BROADCAST_TABLE_FULL = 0, PTA_LO_PRI_REQUESTED = 0, PTA_HI_PRI_REQUESTED = 0, PTA_LO_PRI_DENIED = 0, PTA_HI_PRI_DENIED = 0, PTA_LO_PRI_TX_ABORTED = 0, PTA_HI_PRI_TX_ABORTED = 0, ADDRESS_CONFLICT_SENT = 0, EZSP_FREE_BUFFERS = 252]
2024-11-12 17:59:57.661 DEBUG (MainThread) [zha.decorators] [<Task pending name='sensor_state_poller_00:15:8d:00:02:17:87:89-1-2820_PolledElectricalMeasurement' coro=<periodic.<locals>.scheduler.<locals>.wrapper() running at /usr/local/lib/python3.12/site-packages/zha/decorators.py:78> cb=[set.remove()]>] executing periodic task [zha.application.platforms.sensor::PollableSensor._refresh]
2024-11-12 17:59:57.662 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:02:17:87:89-1-2820: polling for updated state
2024-11-12 17:59:57.662 DEBUG (MainThread) [zha.application.platforms] 00:15:8d:00:02:17:87:89-1-2820: polling current state
2024-11-12 17:59:57.662 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: async_update
2024-11-12 17:59:57.662 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: Reading attributes in chunks: ['active_power', 'rms_current', 'rms_voltage']
2024-11-12 17:59:57.662 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Sending request header: ZCLHeader(frame_control=FrameControl<0x00>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=102, command_id=<GeneralCommand.Read_Attributes: 0>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:57.662 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Sending request: Read_Attributes(attribute_ids=[1291, 1288, 1285])
2024-11-12 17:59:57.662 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 57, 662617, tzinfo=datetime.timezone.utc), priority=<PacketPriority.NORMAL: 0>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x67A5), dst_ep=1, source_route=None, extended_timeout=False, tsn=102, profile_id=260, cluster_id=2820, data=Serialized[b'\x00f\x00\x0b\x05\x08\x05\x05\x05'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:57.662 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x67A5, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=102), 'messageTag': 81, 'messageContents': b'\x00f\x00\x0b\x05\x08\x05\x05\x05'}
2024-11-12 17:59:57.663 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=5, re_tx=False, ack_num=6, ezsp_frame=b'\x04\x00\x014\x00\x00\xa5g\x04\x01\x04\x0b\x01\x01@\x01\x00\x00fQ\t\x00f\x00\x0b\x05\x08\x05\x05\x05') + FLAG
2024-11-12 17:59:57.663 DEBUG (bellows.thread_0) [bellows.ash] Sending data  564621a9602a15173e904b21a15493099d4e27cdbcc767edfdcd6681f97b3ac93d7e
2024-11-12 17:59:57.673 DEBUG (bellows.thread_0) [bellows.ash] Received data 6646a1a9602a15e61faf7e
2024-11-12 17:59:57.673 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=6, re_tx=0, ack_num=6, ezsp_frame=b'\x04\x80\x014\x00\x00T')
2024-11-12 17:59:57.673 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=7) + FLAG
2024-11-12 17:59:57.673 DEBUG (bellows.thread_0) [bellows.ash] Sending data  87009f7e
2024-11-12 17:59:57.673 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 84}
2024-11-12 17:59:57.704 DEBUG (bellows.thread_0) [bellows.ash] Received data 7646b1a96b2a15173e904b21a15493099d4e27ffbcce6727fc7e
2024-11-12 17:59:57.704 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=7, re_tx=0, ack_num=6, ezsp_frame=b'\x04\x90\x01?\x00\x00\xa5g\x04\x01\x04\x0b\x01\x01@\x01\x00\x00TQ\x00\x00')
2024-11-12 17:59:57.704 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=0) + FLAG
2024-11-12 17:59:57.704 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8070787e
2024-11-12 17:59:57.704 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 26533, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=84), 'messageTag': 81, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:57.705 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 26533, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=84), 81, <EmberStatus.SUCCESS: 0>, b'']
2024-11-12 17:59:57.717 DEBUG (bellows.thread_0) [bellows.ash] Received data 0646b1a97d312a15b658904124ab1593499cd58f6d48a99874e8de0588f77b3f8e75cdd66a8fde19d8d0d769adaf23af7d337e
2024-11-12 17:59:57.717 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=0, re_tx=0, ack_num=6, ezsp_frame=b'\x04\x90\x01E\x00\x00\x04\x01\x04\x0b\x01\x01@\x01\x00\x00\x9b\xa8\xc6\xa5g\xff\xff\x15\x18f\x01\x0b\x05\x00)\x9e\x00\x08\x05\x00!\xde\x03\x05\x05\x00!\xe9\x00')
2024-11-12 17:59:57.717 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=1) + FLAG
2024-11-12 17:59:57.717 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8160597e
2024-11-12 17:59:57.717 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=155), 'lastHopLqi': 168, 'lastHopRssi': -58, 'sender': 0x67A5, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x18f\x01\x0b\x05\x00)\x9e\x00\x08\x05\x00!\xde\x03\x05\x05\x00!\xe9\x00'}
2024-11-12 17:59:57.717 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=2820, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=155), 168, -58, 0x67A5, 255, 255, b'\x18f\x01\x0b\x05\x00)\x9e\x00\x08\x05\x00!\xde\x03\x05\x05\x00!\xe9\x00']
2024-11-12 17:59:57.717 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 57, 717873, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x67A5), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=155, profile_id=260, cluster_id=2820, data=Serialized[b'\x18f\x01\x0b\x05\x00)\x9e\x00\x08\x05\x00!\xde\x03\x05\x05\x00!\xe9\x00'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=168, rssi=-58)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Received ZCL frame: b'\x18f\x01\x0b\x05\x00)\x9e\x00\x08\x05\x00!\xde\x03\x05\x05\x00!\xe9\x00'
2024-11-12 17:59:57.718 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x18>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=102, command_id=1, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zigpy.zcl] [0x67A5:1:0x0b04] Decoded ZCL frame: ElectricalMeasurementClusterInnr:Read_Attributes_rsp(status_records=[ReadAttributeRecord(attrid=1291, status=<Status.SUCCESS: 0>, value=TypeValue(type=int16s, value=158)), ReadAttributeRecord(attrid=1288, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=990)), ReadAttributeRecord(attrid=1285, status=<Status.SUCCESS: 0>, value=TypeValue(type=uint16_t, value=233))])
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[158]
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value=158, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None) (1 listeners)
2024-11-12 17:59:57.718 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.innr_sp_120_power_2: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[990]
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value=990, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[233]
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value=233, cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.718 DEBUG (MainThread) [zha] Emitting event state_changed with data EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820-rms_voltage', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None) (1 listeners)
2024-11-12 17:59:57.718 DEBUG (MainThread) [homeassistant.components.zha.entity] sensor.innr_sp_120_voltage_2: Handling event from entity: EntityStateChangedEvent(event_type='entity', event='state_changed', platform=<Platform.SENSOR: 'sensor'>, unique_id='00:15:8d:00:02:17:87:89-1-2820-rms_voltage', device_ieee=00:15:8d:00:02:17:87:89, endpoint_id=1, group_id=None)
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[active_power] value[active_power]
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1291, attribute_name='active_power', attribute_value='active_power', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_current] value[rms_current]
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1288, attribute_name='rms_current', attribute_value='rms_current', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x67A5:1:0x0b04]: cluster_handler[electrical_measurement] attribute_updated - cluster[Electrical Measurement] attr[rms_voltage] value[rms_voltage]
2024-11-12 17:59:57.719 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=1285, attribute_name='rms_voltage', attribute_value='rms_voltage', cluster_handler_unique_id='00:15:8d:00:02:17:87:89:1:0x0b04', cluster_id=2820, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (3 listeners)
2024-11-12 17:59:57.719 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430797.717873, 'ieee': 00:15:8d:00:02:17:87:89, 'min_update_delta': 30.0})
2024-11-12 17:59:57.720 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430797.717873, 'ieee': 00:15:8d:00:02:17:87:89, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:57.721 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:57.721 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:57.721 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 158, 'timestamp': 1731430797.718465, 'min_update_delta': 30.0})
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1291, 'value': 158, 'timestamp': 1731430797.718465, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 990, 'timestamp': 1731430797.71879, 'min_update_delta': 30.0})
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1288, 'value': 990, 'timestamp': 1731430797.71879, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:57.722 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:57.723 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 233, 'timestamp': 1731430797.718878, 'min_update_delta': 30.0})
2024-11-12 17:59:57.723 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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:02:17:87:89, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 2820, 'attr_id': 1285, 'value': 233, 'timestamp': 1731430797.718878, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:57.723 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:57.723 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:58.514 DEBUG (bellows.thread_0) [bellows.ash] Received data 1646b1a90d2a9898e34516db5582f941088f27e6697e
2024-11-12 17:59:58.514 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=1, re_tx=0, ack_num=6, ezsp_frame=b'\x04\x90\x01Y\x00\x8d*\xba\xd1\\\xfe\xff\xd7k\x08\x94\xc1\x00')
2024-11-12 17:59:58.514 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=2) + FLAG
2024-11-12 17:59:58.514 DEBUG (bellows.thread_0) [bellows.ash] Sending data  82503a7e
2024-11-12 17:59:58.515 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0x2A8D, 'sourceEui': 08:6b:d7:ff:fe:5c:d1:ba, 'lastHopLqi': 148, 'lastHopRssi': -63, 'relayList': []}
2024-11-12 17:59:58.515 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x2A8D, 08:6b:d7:ff:fe:5c:d1:ba, 148, -63, []]
2024-11-12 17:59:58.515 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x2A8D, 08:6b:d7:ff:fe:5c:d1:ba, 148, -63, [])
2024-11-12 17:59:58.515 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'relays': b'\x00'})
2024-11-12 17:59:58.516 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'relays': b'\x00'}) completed
2024-11-12 17:59:58.516 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:58.516 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:58.561 DEBUG (bellows.thread_0) [bellows.ash] Received data 2646b1a97d312a15b658924a24ab1593499c45876f60e49874face1683fc7d5e2fa6e921057e
2024-11-12 17:59:58.561 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=2, re_tx=0, ack_num=6, ezsp_frame=b'\x04\x90\x01E\x00\x00\x04\x01\x06\x00\x01\x01@\x01\x00\x00\x0b\xa0\xc4\x8d*\xff\xff\x07\x08u\n\x00\x00\x10\x01\x02')
2024-11-12 17:59:58.561 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=3) + FLAG
2024-11-12 17:59:58.561 DEBUG (bellows.thread_0) [bellows.ash] Sending data  83401b7e
2024-11-12 17:59:58.561 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingMessageHandler: {'type': <EmberIncomingMessageType.INCOMING_UNICAST: 0>, 'apsFrame': EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=11), 'lastHopLqi': 160, 'lastHopRssi': -60, 'sender': 0x2A8D, 'bindingIndex': 255, 'addressIndex': 255, 'messageContents': b'\x08u\n\x00\x00\x10\x01'}
2024-11-12 17:59:58.561 DEBUG (MainThread) [bellows.ezsp.protocol] Frame contains trailing data: b'\x02'
2024-11-12 17:59:58.561 DEBUG (MainThread) [bellows.zigbee.application] Received incomingMessageHandler frame with [<EmberIncomingMessageType.INCOMING_UNICAST: 0>, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=11), 160, -60, 0x2A8D, 255, 255, b'\x08u\n\x00\x00\x10\x01']
2024-11-12 17:59:58.561 DEBUG (MainThread) [zigpy.application] Received a packet: ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 58, 561658, tzinfo=datetime.timezone.utc), priority=0, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2A8D), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), dst_ep=1, source_route=None, extended_timeout=False, tsn=11, profile_id=260, cluster_id=6, data=Serialized[b'\x08u\n\x00\x00\x10\x01'], tx_options=<TransmitOptions.NONE: 0>, radius=0, non_member_radius=0, lqi=160, rssi=-60)
2024-11-12 17:59:58.561 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Received ZCL frame: b'\x08u\n\x00\x00\x10\x01'
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Decoded ZCL frame header: ZCLHeader(frame_control=FrameControl<0x08>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=0, direction=<Direction.Server_to_Client: 1>, disable_default_response=0, reserved=0, *is_cluster=False, *is_general=True), tsn=117, command_id=10, *direction=<Direction.Server_to_Client: 1>)
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Decoded ZCL frame: OnOff:Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Received command 0x0A (TSN 117): Report_Attributes(attribute_reports=[Attribute(attrid=0x0000, value=TypeValue(type=Bool, value=<Bool.true: 1>))])
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Attribute report received: on_off=<Bool.true: 1>
2024-11-12 17:59:58.562 DEBUG (MainThread) [zha.zigbee.cluster_handlers] [0x2A8D:1:0x0006]: cluster_handler[on_off] attribute_updated - cluster[On/Off] attr[on_off] value[Bool.true]
2024-11-12 17:59:58.562 DEBUG (MainThread) [zha] Emitting event cluster_handler_attribute_updated with data ClusterAttributeUpdatedEvent(attribute_id=0, attribute_name='on_off', attribute_value=<Bool.true: 1>, cluster_handler_unique_id='08:6b:d7:ff:fe:5c:d1:ba:1:0x0006', cluster_id=6, event_type='cluster_handler_event', event='cluster_handler_attribute_updated') (2 listeners)
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Sending reply header: ZCLHeader(frame_control=FrameControl<0x10>(frame_type=<FrameType.GLOBAL_COMMAND: 0>, is_manufacturer_specific=False, direction=<Direction.Client_to_Server: 0>, disable_default_response=1, reserved=0, *is_cluster=False, *is_general=True), tsn=117, command_id=<GeneralCommand.Default_Response: 11>, *direction=<Direction.Client_to_Server: 0>)
2024-11-12 17:59:58.562 DEBUG (MainThread) [zigpy.zcl] [0x2A8D:1:0x0006] Sending reply: Default_Response(command_id=10, status=<Status.SUCCESS: 0>)
2024-11-12 17:59:58.562 DEBUG (MainThread) [bellows.zigbee.application] Sending packet ZigbeePacket(timestamp=datetime.datetime(2024, 11, 12, 16, 59, 58, 562760, tzinfo=datetime.timezone.utc), priority=<PacketPriority.LOW: -1>, src=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x0000), src_ep=1, dst=AddrModeAddress(addr_mode=<AddrMode.NWK: 2>, address=0x2A8D), dst_ep=1, source_route=None, extended_timeout=False, tsn=117, profile_id=260, cluster_id=6, data=Serialized[b'\x10u\x0b\n\x00'], tx_options=<TransmitOptions.ACK: 1>, radius=0, non_member_radius=0, lqi=None, rssi=None)
2024-11-12 17:59:58.562 DEBUG (MainThread) [bellows.ezsp.protocol] Sending command  sendUnicast: () {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 0x2A8D, 'apsFrame': EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=117), 'messageTag': 82, 'messageContents': b'\x10u\x0b\n\x00'}
2024-11-12 17:59:58.563 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430798.561658, 'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'min_update_delta': 30.0})
2024-11-12 17:59:58.563 DEBUG (bellows.thread_0) [bellows.ash] Sending frame DataFrame(frm_num=6, re_tx=False, ack_num=3, ezsp_frame=b'\x05\x00\x014\x00\x00\x8d*\x04\x01\x06\x00\x01\x01@\x01\x00\x00uR\x05\x10u\x0b\n\x00') + FLAG
2024-11-12 17:59:58.563 DEBUG (bellows.thread_0) [bellows.ash] Sending data  634721a9602a153f73904b23aa5493099d4e27debfcb77fef6cc63c06b7e
2024-11-12 17:59:58.563 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'UPDATE devices_v13\n                    SET last_seen=:ts\n                    WHERE ieee=:ieee AND :ts - last_seen > :min_update_delta', {'ts': 1731430798.561658, 'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:58.563 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:58.563 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:58.563 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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': 08:6b:d7:ff:fe:5c:d1:ba, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 6, 'attr_id': 0, 'value': <Bool.true: 1>, 'timestamp': 1731430798.562343, 'min_update_delta': 30.0})
2024-11-12 17:59:58.564 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, '\n            INSERT INTO attributes_cache_v13\n            VALUES (:ieee, :endpoint_id, :cluster_type, :cluster_id, :attr_id, :value, :timestamp)\n                ON CONFLICT (ieee, endpoint_id, cluster_type, cluster_id, attr_id) 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': 08:6b:d7:ff:fe:5c:d1:ba, 'endpoint_id': 1, 'cluster_type': <ClusterType.Server: 0>, 'cluster_id': 6, 'attr_id': 0, 'value': <Bool.true: 1>, 'timestamp': 1731430798.562343, 'min_update_delta': 30.0}) completed
2024-11-12 17:59:58.564 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:58.564 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:58.573 DEBUG (bellows.thread_0) [bellows.ash] Received data 3747a1a9602a15e73b587e
2024-11-12 17:59:58.573 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=3, re_tx=0, ack_num=7, ezsp_frame=b'\x05\x80\x014\x00\x00U')
2024-11-12 17:59:58.573 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=4) + FLAG
2024-11-12 17:59:58.573 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8430fc7e
2024-11-12 17:59:58.573 DEBUG (MainThread) [bellows.ezsp.protocol] Received command sendUnicast: {'status': <EmberStatus.SUCCESS: 0>, 'sequence': 85}
2024-11-12 17:59:58.590 DEBUG (bellows.thread_0) [bellows.ash] Received data 4747b1a90d2a9898e34516db5582f941008d27f6ad7e
2024-11-12 17:59:58.590 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=4, re_tx=0, ack_num=7, ezsp_frame=b'\x05\x90\x01Y\x00\x8d*\xba\xd1\\\xfe\xff\xd7k\x08\x9c\xc3\x00')
2024-11-12 17:59:58.590 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=5) + FLAG
2024-11-12 17:59:58.590 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8520dd7e
2024-11-12 17:59:58.591 DEBUG (MainThread) [bellows.ezsp.protocol] Received command incomingRouteRecordHandler: {'source': 0x2A8D, 'sourceEui': 08:6b:d7:ff:fe:5c:d1:ba, 'lastHopLqi': 156, 'lastHopRssi': -61, 'relayList': []}
2024-11-12 17:59:58.591 DEBUG (MainThread) [bellows.zigbee.application] Received incomingRouteRecordHandler frame with [0x2A8D, 08:6b:d7:ff:fe:5c:d1:ba, 156, -61, []]
2024-11-12 17:59:58.591 DEBUG (MainThread) [bellows.zigbee.application] Processing route record request: (0x2A8D, 08:6b:d7:ff:fe:5c:d1:ba, 156, -61, [])
2024-11-12 17:59:58.594 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'relays': b'\x00'})
2024-11-12 17:59:58.594 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method execute of sqlite3.Connection object at 0x7f97fb95bd30>, 'INSERT INTO relays_v13 VALUES (:ieee, :relays)\n                        ON CONFLICT (ieee)\n                        DO UPDATE SET relays=excluded.relays WHERE relays != :relays', {'ieee': 08:6b:d7:ff:fe:5c:d1:ba, 'relays': b'\x00'}) completed
2024-11-12 17:59:58.594 DEBUG (Thread-10086) [aiosqlite] executing functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>)
2024-11-12 17:59:58.594 DEBUG (Thread-10086) [aiosqlite] operation functools.partial(<built-in method commit of sqlite3.Connection object at 0x7f97fb95bd30>) completed
2024-11-12 17:59:58.638 DEBUG (bellows.thread_0) [bellows.ash] Received data 5747b1a96b2a153f73904b23aa5493099d4e27febfce67d32a7e
2024-11-12 17:59:58.639 DEBUG (bellows.thread_0) [bellows.ash] Received frame DataFrame(frm_num=5, re_tx=0, ack_num=7, ezsp_frame=b'\x05\x90\x01?\x00\x00\x8d*\x04\x01\x06\x00\x01\x01@\x01\x00\x00UR\x00\x00')
2024-11-12 17:59:58.639 DEBUG (bellows.thread_0) [bellows.ash] Sending frame AckFrame(res=0, ncp_ready=0, ack_num=6) + FLAG
2024-11-12 17:59:58.639 DEBUG (bellows.thread_0) [bellows.ash] Sending data  8610be7e
2024-11-12 17:59:58.639 DEBUG (MainThread) [bellows.ezsp.protocol] Received command messageSentHandler: {'type': <EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 'indexOrDestination': 10893, 'apsFrame': EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=85), 'messageTag': 82, 'status': <EmberStatus.SUCCESS: 0>, 'messageContents': b''}
2024-11-12 17:59:58.639 DEBUG (MainThread) [bellows.zigbee.application] Received messageSentHandler frame with [<EmberOutgoingMessageType.OUTGOING_DIRECT: 0>, 10893, EmberApsFrame(profileId=260, clusterId=6, sourceEndpoint=1, destinationEndpoint=1, options=<EmberApsOption.APS_OPTION_RETRY|APS_OPTION_ENABLE_ROUTE_DISCOVERY: 320>, groupId=0, sequence=85), 82, <EmberStatus.SUCCESS: 0>, b'']