Skip to content

Commit 1254f7d

Browse files
committed
[paradoxalarm] Fix GenericCommunicator not reaching ONLINE after initialization
INITIALIZE_DATA.runPhase() guarded the entire body with an IParadoxCommunicator instanceof check, so GenericCommunicator (used during Phase 1 panel auto-discovery) never called nextState().runPhase() and therefore never transitioned to ONLINE. This caused doPostOnlineTask() to time out and auto-discovery to fail. Signed-off-by: Konstantin Polihronov <polychronov@gmail.com>
1 parent 554fb9f commit 1254f7d

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

  • bundles/org.openhab.binding.paradoxalarm/src/main/java/org/openhab/binding/paradoxalarm/internal/communication

bundles/org.openhab.binding.paradoxalarm/src/main/java/org/openhab/binding/paradoxalarm/internal/communication/CommunicationState.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,8 @@ protected void runPhase(IParadoxInitialLoginCommunicator communicator, Object...
318318
// Transition to ONLINE is deferred until the first complete RAM read cycle
319319
// completes (see EvoCommunicator.receiveRamResponse).
320320
comm.initializeData();
321+
} else {
322+
nextState().runPhase(communicator);
321323
}
322324
}
323325
},

0 commit comments

Comments
 (0)