[km200] Fix initialization warning: "tried updating the thing status although the handler was already disposed." (#14384)
Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
parent
9a2bfcf0b8
commit
1bc00a0dd8
|
@ -92,7 +92,6 @@ public class KM200GatewayHandler extends BaseBridgeHandler {
|
||||||
super(bridge);
|
super(bridge);
|
||||||
refreshInterval = 120;
|
refreshInterval = 120;
|
||||||
readDelay = 100;
|
readDelay = 100;
|
||||||
updateStatus(ThingStatus.UNINITIALIZED, ThingStatusDetail.CONFIGURATION_PENDING);
|
|
||||||
remoteDevice = new KM200Device(httpClient);
|
remoteDevice = new KM200Device(httpClient);
|
||||||
dataHandler = new KM200DataHandler(remoteDevice);
|
dataHandler = new KM200DataHandler(remoteDevice);
|
||||||
executor = Executors.newScheduledThreadPool(2, new NamedThreadFactory("org.openhab.binding.km200", true));
|
executor = Executors.newScheduledThreadPool(2, new NamedThreadFactory("org.openhab.binding.km200", true));
|
||||||
|
|
Loading…
Reference in New Issue