[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:
Jacob Laursen 2023-02-18 19:11:54 +01:00 committed by GitHub
parent 9a2bfcf0b8
commit 1bc00a0dd8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View File

@ -92,7 +92,6 @@ public class KM200GatewayHandler extends BaseBridgeHandler {
super(bridge);
refreshInterval = 120;
readDelay = 100;
updateStatus(ThingStatus.UNINITIALIZED, ThingStatusDetail.CONFIGURATION_PENDING);
remoteDevice = new KM200Device(httpClient);
dataHandler = new KM200DataHandler(remoteDevice);
executor = Executors.newScheduledThreadPool(2, new NamedThreadFactory("org.openhab.binding.km200", true));