We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4aa126e commit ec7ef8fCopy full SHA for ec7ef8f
plugwise/controller.py
@@ -159,11 +159,18 @@ def resend(self, seq_id):
159
)
160
self.send(NodePingRequest(_mac))
161
else:
162
- _LOGGER.warning(
163
- "Drop single %s to %s ",
164
- _request,
165
- _mac,
166
- )
+ if isinstance(self.expected_responses[seq_id][0], NodePingRequest):
+ _LOGGER.info(
+ "Drop single %s to %s ",
+ _request,
+ _mac,
167
+ )
168
+ else:
169
+ _LOGGER.warning(
170
171
172
173
174
del self.expected_responses[seq_id]
175
176
def _send_message_loop(self):
0 commit comments