mirror of
https://github.com/openhab/openhab-addons.git
synced 2025-02-09 13:57:00 +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
|
@Override
|
||||||
public StateDescriptionFragmentBuilder createStateDescription(boolean readOnly) {
|
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 %%");
|
.withPattern("%s %%");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user