[insteon] Fix legacy all link broadcast message not processed (#18049)

Signed-off-by: Jeremy Setton <jeremy.setton@gmail.com>
4.3.x
Jeremy 2025-01-06 07:08:17 -05:00 committed by Leo Siepel
parent b0560d707a
commit cac757ae81
2 changed files with 3 additions and 3 deletions

View File

@ -517,7 +517,7 @@ public class InsteonLegacyBinding implements LegacyDriverListener, LegacyPortLis
private void handleInsteonMessage(Msg msg) throws FieldException {
InsteonAddress toAddr = msg.getInsteonAddress("toAddress");
if (!msg.isBroadcast() && !driver.isMsgForUs(toAddr)) {
if (!msg.isBroadcast() && !msg.isAllLinkBroadcast() && !driver.isMsgForUs(toAddr)) {
// not for one of our modems, do not process
return;
}

View File

@ -336,7 +336,7 @@ public class LegacyDevice {
if (qe == null) {
return 0L;
}
if (!qe.getMsg().isBroadcast()) {
if (!qe.getMsg().isAllLinkBroadcast()) {
logger.debug("qe taken off direct: {} {}", qe.getFeature(), qe.getMsg());
lastQueryTime = timeNow;
// mark feature as pending
@ -384,7 +384,7 @@ public class LegacyDevice {
synchronized (mrequestQueue) {
mrequestQueue.add(new QEntry(feature, msg, now + delay));
}
if (!msg.isBroadcast()) {
if (!msg.isAllLinkBroadcast()) {
msg.setQuietTime(QUIET_TIME_DIRECT_MESSAGE);
}
logger.trace("enqueing direct message with delay {}", delay);