diff --git a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/PercentageValue.java b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/PercentageValue.java index cf05552674d74..a9f1e2c844cad 100644 --- a/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/PercentageValue.java +++ b/bundles/org.openhab.binding.mqtt.generic/src/main/java/org/openhab/binding/mqtt/generic/values/PercentageValue.java @@ -154,7 +154,7 @@ public String getMQTTpublishValue(@Nullable String pattern) { @Override public StateDescriptionFragmentBuilder createStateDescription(boolean readOnly) { - return super.createStateDescription(readOnly).withMaximum(max).withMinimum(min).withStep(step) + return super.createStateDescription(readOnly).withMaximum(HUNDRED).withMinimum(BigDecimal.ZERO).withStep(step) .withPattern("%s %%"); } }