return rollershutter pos (#13191)
Signed-off-by: Tobias Lange <vich-667@gmx.de>
This commit is contained in:
parent
b63e420abf
commit
7e9e0dbdf2
|
@ -91,6 +91,7 @@ public class RollershutterItemConverter extends AbstractTransformingItemConverte
|
|||
if (value.compareTo(PercentType.ZERO.toBigDecimal()) < 0) {
|
||||
return PercentType.ZERO;
|
||||
}
|
||||
return new PercentType(value);
|
||||
} catch (NumberFormatException e) {
|
||||
// ignore
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue