[miio] fix action channel miot for empty input with parameters (#11794)
Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
This commit is contained in:
parent
82df34131c
commit
40b3db468b
|
@ -245,7 +245,7 @@ public class MiIoBasicHandler extends MiIoAbstractHandler {
|
|||
value = new JsonPrimitive(command.toString().toLowerCase());
|
||||
}
|
||||
if (paramType == CommandParameterType.EMPTY) {
|
||||
value = new JsonArray();
|
||||
value = parameters.deepCopy();
|
||||
}
|
||||
final MiIoDeviceActionCondition miIoDeviceActionCondition = action.getCondition();
|
||||
if (miIoDeviceActionCondition != null) {
|
||||
|
|
Loading…
Reference in New Issue