Skip to content

Commit

Permalink
[ferroamp] Binding for ferroamp 20241024_1
Browse files Browse the repository at this point in the history
Changes done in FerroampHandler.java

Signed-off-by: Örjan Backsell <orjan.backsell@gmail.com>
  • Loading branch information
basse04 committed Oct 25, 2024
1 parent f31221c commit 1d50b74
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -121,9 +121,7 @@ public void initialize() {

// Start channel-update as configured
scheduler.scheduleWithFixedDelay(() -> {
System.out.println("ffff = " + getFerroampConnection().connectionState());
if (getFerroampConnection().connectionState().toString().equals("DISCONNECTED")) {
System.out.println("aaaaa = " + getFerroampConnection().connectionState());
updateStatus(ThingStatus.OFFLINE, ThingStatusDetail.COMMUNICATION_ERROR);
logger.debug("Problem connection to MqttBroker");
} else {
Expand Down

0 comments on commit 1d50b74

Please sign in to comment.