Signed-off-by: Rogier Hofboer <rogier@hofboer.nl>pull/10885/head
parent
ef1deff4e9
commit
ea2cb217e0
|
@ -154,7 +154,7 @@ public class PercentageValue extends Value {
|
|||
|
||||
@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 %%");
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue