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) {
|
if (value.compareTo(PercentType.ZERO.toBigDecimal()) < 0) {
|
||||||
return PercentType.ZERO;
|
return PercentType.ZERO;
|
||||||
}
|
}
|
||||||
|
return new PercentType(value);
|
||||||
} catch (NumberFormatException e) {
|
} catch (NumberFormatException e) {
|
||||||
// ignore
|
// ignore
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue