diff --git a/bundles/org.openhab.binding.remoteopenhab/src/main/java/org/openhab/binding/remoteopenhab/internal/handler/RemoteopenhabBridgeHandler.java b/bundles/org.openhab.binding.remoteopenhab/src/main/java/org/openhab/binding/remoteopenhab/internal/handler/RemoteopenhabBridgeHandler.java index b9744f3dc..b6324ca66 100644 --- a/bundles/org.openhab.binding.remoteopenhab/src/main/java/org/openhab/binding/remoteopenhab/internal/handler/RemoteopenhabBridgeHandler.java +++ b/bundles/org.openhab.binding.remoteopenhab/src/main/java/org/openhab/binding/remoteopenhab/internal/handler/RemoteopenhabBridgeHandler.java @@ -463,9 +463,13 @@ public class RemoteopenhabBridgeHandler extends BaseBridgeHandler } } else if (acceptedItemType.startsWith(CoreItemFactory.NUMBER + ":")) { // Item type Number with dimension - if (checkStateType(itemName, stateType, "Quantity")) { + if (stateType == null || "Quantity".equals(stateType)) { List> stateTypes = Collections.singletonList(QuantityType.class); channelState = TypeParser.parseState(stateTypes, state); + } else if ("Decimal".equals(stateType)) { + channelState = new DecimalType(state); + } else { + logger.debug("Unexpected value type {} for item {}", stateType, itemName); } } else { switch (acceptedItemType) {