File tree Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Expand file tree Collapse file tree 2 files changed +1
-24
lines changed Original file line number Diff line number Diff line change @@ -718,7 +718,7 @@ def _unhandled_command(self, command: t.CommandBase):
718
718
Called when a command that is not handled by any listener is received.
719
719
"""
720
720
721
- LOGGER .warning ( "Received an unhandled command : %s" , command )
721
+ LOGGER .debug ( "Command was not handled : %s" , command )
722
722
723
723
@contextlib .asynccontextmanager
724
724
async def capture_responses (self , responses ):
Original file line number Diff line number Diff line change 71
71
72
72
REQUEST_RETRYABLE_ERRORS = REQUEST_TRANSIENT_ERRORS | REQUEST_ROUTING_ERRORS
73
73
74
- IGNORED_ZDO_CALLBACKS = [
75
- c .ZDO .EndDeviceAnnceInd ,
76
- c .ZDO .LeaveInd ,
77
- c .ZDO .PermitJoinInd ,
78
- c .ZDO .ParentAnnceRsp ,
79
- c .ZDO .ConcentratorInd ,
80
- c .ZDO .MgmtNWKUpdateNotify ,
81
- c .ZDO .MgmtPermitJoinRsp ,
82
- c .ZDO .NodeDescRsp ,
83
- c .ZDO .SimpleDescRsp ,
84
- c .ZDO .ActiveEpRsp ,
85
- c .ZDO .MgmtLqiRsp ,
86
- c .ZDO .BindRsp ,
87
- c .ZDO .UnBindRsp ,
88
- ]
89
-
90
74
LOGGER = logging .getLogger (__name__ )
91
75
92
76
@@ -661,13 +645,6 @@ def _bind_callbacks(self) -> None:
661
645
c .ZDO .MsgCbIncoming .Callback (partial = True ), self .on_zdo_message
662
646
)
663
647
664
- # Handle messages that we do not use to prevent unnecessary WARNINGs in logs
665
- for ignored_callback in IGNORED_ZDO_CALLBACKS :
666
- self ._znp .callback_for_response (
667
- ignored_callback .Callback (partial = True ),
668
- self .on_intentionally_unhandled_message ,
669
- )
670
-
671
648
# These are responses to a broadcast but we ignore all but the first
672
649
self ._znp .callback_for_response (
673
650
c .ZDO .IEEEAddrRsp .Callback (partial = True ),
You can’t perform that action at this time.
0 commit comments