mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-10 15:11:59 +01:00
[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:
parent
f31221c2cb
commit
1d50b746a7
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user