From ae298dd1381ba06023299602b9bdd32921769d8f Mon Sep 17 00:00:00 2001 From: Patrick Pichon Date: Thu, 2 Nov 2023 21:46:34 +0100 Subject: [PATCH] fix debug message --- Classes/ZigpyTransport/AppGeneric.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/ZigpyTransport/AppGeneric.py b/Classes/ZigpyTransport/AppGeneric.py index a1d1911ba..04d1fdcc6 100644 --- a/Classes/ZigpyTransport/AppGeneric.py +++ b/Classes/ZigpyTransport/AppGeneric.py @@ -176,13 +176,13 @@ def packet_received(self, packet: t.ZigbeePacket) -> None: """Notify zigpy of a received Zigbee packet.""" try: sender = self.get_device_with_address(packet.src) - self.log.logging("TransportZigpy", "Debug", "identified device - %s (%s)" %(str(sender), type(sender)) ) + self.log.logging("TransportZigpy", "Debug", "packet_received identified device - %s (%s)" %(str(sender), type(sender)) ) except KeyError: - self.log.logging("TransportZigpy", "Debug", "Unknown device %r", packet.src) + self.log.logging("TransportZigpy", "Debug", "packet_received Unknown device %r" %packet.src) return - self.log.logging("TransportZigpy", "Debug", "identified device - %s (%s)" % (str(sender), type(sender))) + self.log.logging("TransportZigpy", "Debug", "packet_received identified device - %s (%s)" % (str(sender), type(sender))) profile, cluster, src_ep, dst_ep = packet.profile_id, packet.cluster_id, packet.src_ep, packet.dst_ep message = packet.data.serialize()