mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
[miio] Fix emtpy command sending for feature channels (#16384)
closes #15994 Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com> Signed-off-by: Ciprian Pascu <contact@ciprianpascu.ro>
This commit is contained in:
parent
3507b77ca9
commit
4d286438c8
@ -642,7 +642,7 @@ public class MiIoVacuumHandler extends MiIoAbstractHandler {
|
||||
}
|
||||
}
|
||||
for (RobotCababilities cmd : FEATURES_CHANNELS) {
|
||||
if (isLinked(cmd.getChannel())) {
|
||||
if (isLinked(cmd.getChannel()) && !cmd.getCommand().isBlank()) {
|
||||
sendCommand(cmd.getCommand());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user