parent
a980dbfb4d
commit
cd16c680eb
|
@ -78,8 +78,7 @@ public class ComfoAirHandler extends BaseThingHandler {
|
||||||
if (changeCommand != null) {
|
if (changeCommand != null) {
|
||||||
Set<String> keysToUpdate = getThing().getChannels().stream().map(Channel::getUID).filter(this::isLinked)
|
Set<String> keysToUpdate = getThing().getChannels().stream().map(Channel::getUID).filter(this::isLinked)
|
||||||
.map(ChannelUID::getId).collect(Collectors.toSet());
|
.map(ChannelUID::getId).collect(Collectors.toSet());
|
||||||
State state = sendCommand(changeCommand, channelId);
|
sendCommand(changeCommand, channelId);
|
||||||
updateState(channelUID, state);
|
|
||||||
|
|
||||||
Collection<ComfoAirCommand> affectedReadCommands = ComfoAirCommandType
|
Collection<ComfoAirCommand> affectedReadCommands = ComfoAirCommandType
|
||||||
.getAffectedReadCommands(channelId, keysToUpdate);
|
.getAffectedReadCommands(channelId, keysToUpdate);
|
||||||
|
|
Loading…
Reference in New Issue