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 and andan67 committed Nov 5, 2022
1 parent 6708c90 commit e56ccab
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 e56ccab

Please sign in to comment.