mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-01-25 14:55:55 +01:00
Signed-off-by: Rogier Hofboer <rogier@hofboer.nl>
This commit is contained in:
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
Block a user