Skip to content

Commit

Permalink
[miio] fix action channel miot for empty input with parameters (openh…
Browse files Browse the repository at this point in the history
…ab#11794)

Signed-off-by: Marcel Verpaalen <[email protected]>
Signed-off-by: Nick Waterton <[email protected]>
  • Loading branch information
marcelrv authored and NickWaterton committed Dec 30, 2021
1 parent 73fc1d9 commit 947e5a5
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 947e5a5

Please sign in to comment.