[ferroamp] Binding for ferroamp 20241024_1

Changes done in FerroampHandler.java

Signed-off-by: Örjan Backsell <orjan.backsell@gmail.com>
This commit is contained in:
Örjan Backsell 2024-10-24 19:19:53 +02:00
parent f31221c2cb
commit 1d50b746a7

View File

@ -121,9 +121,7 @@ public class FerroampHandler extends BaseThingHandler implements MqttMessageSubs
// 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 {