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]>
  • Loading branch information
marcelrv authored Dec 16, 2021
1 parent 0f75d11 commit 3d2b70f
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 3d2b70f

Please sign in to comment.