diff --git a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/CcuVariablesAndScriptsParser.java b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/CcuVariablesAndScriptsParser.java index 17ff956ede68f..27d5dc559494d 100644 --- a/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/CcuVariablesAndScriptsParser.java +++ b/bundles/org.openhab.binding.homematic/src/main/java/org/openhab/binding/homematic/internal/communicator/parser/CcuVariablesAndScriptsParser.java @@ -50,7 +50,7 @@ public Void parse(TclScriptDataList resultList) throws IOException { if (dp.isIntegerType()) { dp.setMinValue(toInteger(entry.minValue)); dp.setMaxValue(toInteger(entry.maxValue)); - } else { + } else if (dp.isFloatType()) { dp.setMinValue(toDouble(entry.minValue)); dp.setMaxValue(toDouble(entry.maxValue)); }