diff --git a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoBasicHandler.java b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoBasicHandler.java index e51083b71ea6b..f3bd724770b2b 100644 --- a/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoBasicHandler.java +++ b/bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/handler/MiIoBasicHandler.java @@ -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) {