Skip to content

Commit

Permalink
[miio] fix action channel miot for empty input with parameters (#11794)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Verpaalen <[email protected]>
  • Loading branch information
marcelrv authored Dec 16, 2021
1 parent 82df341 commit 40b3db4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ public void handleCommand(ChannelUID channelUID, Command receivedCommand) {
value = new JsonPrimitive(command.toString().toLowerCase());
}
if (paramType == CommandParameterType.EMPTY) {
value = new JsonArray();
value = parameters.deepCopy();
}
final MiIoDeviceActionCondition miIoDeviceActionCondition = action.getCondition();
if (miIoDeviceActionCondition != null) {
Expand Down

0 comments on commit 40b3db4

Please sign in to comment.