return rollershutter pos (#13191)

Signed-off-by: Tobias Lange <vich-667@gmx.de>
This commit is contained in:
vich-667 2022-08-17 10:15:23 +02:00 committed by GitHub
parent b63e420abf
commit 7e9e0dbdf2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 0 deletions

View File

@ -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
} }