From cd16c680eb7a9669915f10cab5df5fe51f4bf096 Mon Sep 17 00:00:00 2001 From: boehan Date: Tue, 6 Oct 2020 19:50:37 +0200 Subject: [PATCH] fix updateState (#8580) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Hans Böhm --- .../org/openhab/binding/comfoair/internal/ComfoAirHandler.java | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/ComfoAirHandler.java b/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/ComfoAirHandler.java index 1cafc3b82..f11d20ff7 100644 --- a/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/ComfoAirHandler.java +++ b/bundles/org.openhab.binding.comfoair/src/main/java/org/openhab/binding/comfoair/internal/ComfoAirHandler.java @@ -78,8 +78,7 @@ public class ComfoAirHandler extends BaseThingHandler { if (changeCommand != null) { Set keysToUpdate = getThing().getChannels().stream().map(Channel::getUID).filter(this::isLinked) .map(ChannelUID::getId).collect(Collectors.toSet()); - State state = sendCommand(changeCommand, channelId); - updateState(channelUID, state); + sendCommand(changeCommand, channelId); Collection affectedReadCommands = ComfoAirCommandType .getAffectedReadCommands(channelId, keysToUpdate);