hap-nodejs 0.10.1-beta.1 → 0.10.2-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -427,7 +427,7 @@ var Characteristic = /** @class */ (function (_super) {
|
|
|
427
427
|
}
|
|
428
428
|
else if (props.maxValue < (0, request_util_1.numericLowerBound)(this.props.format)) {
|
|
429
429
|
this.characteristicWarning("Characteristic Property 'maxValue' was set to " + props.maxValue + ", but for numeric format " +
|
|
430
|
-
this.props.format + " minimum possible is " + (0, request_util_1.
|
|
430
|
+
this.props.format + " minimum possible is " + (0, request_util_1.numericLowerBound)(this.props.format), "error-message" /* ERROR_MESSAGE */);
|
|
431
431
|
props.maxValue = (0, request_util_1.numericUpperBound)(this.props.format);
|
|
432
432
|
}
|
|
433
433
|
}
|