From 8e3df6f0af1f6048a6b40db2b0242f469d751807 Mon Sep 17 00:00:00 2001 From: Conte Andrea Date: Mon, 21 Mar 2022 19:25:39 +0100 Subject: [PATCH] removed (duplicate) refreshDevice() at bridgeStatusChanged (#12502) Signed-off-by: Conte Andrea Signed-off-by: Andras Uhrin --- .../handler/OpenWebNetThermoregulationHandler.java | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThermoregulationHandler.java b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThermoregulationHandler.java index c839a98f152e5..21a0a4ac8eba9 100644 --- a/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThermoregulationHandler.java +++ b/bundles/org.openhab.binding.openwebnet/src/main/java/org/openhab/binding/openwebnet/internal/handler/OpenWebNetThermoregulationHandler.java @@ -44,7 +44,6 @@ import org.openhab.core.thing.Thing; import org.openhab.core.thing.ThingStatus; import org.openhab.core.thing.ThingStatusDetail; -import org.openhab.core.thing.ThingStatusInfo; import org.openhab.core.thing.ThingTypeUID; import org.openhab.core.types.Command; import org.openhab.core.types.UnDefType; @@ -122,15 +121,6 @@ public void initialize() { } } - @Override - public void bridgeStatusChanged(ThingStatusInfo bridgeStatusInfo) { - super.bridgeStatusChanged(bridgeStatusInfo); - // when the bridge is ONLINE request for thing states (temp, setTemp, fanSpeed...) - if (bridgeStatusInfo.getStatus().equals(ThingStatus.ONLINE)) { - refreshDevice(false); - } - } - @Override protected void handleChannelCommand(ChannelUID channel, Command command) { switch (channel.getId()) {