[dali] tweak color temperature abs QuantityType fix (#14029)

adds an example of usage of the channel to the README, and
simplifies one method call

Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
Cody Cutrer
2022-12-21 12:21:53 -07:00
committed by GitHub
parent a0c2c76fd0
commit df8e0bb15b
2 changed files with 2 additions and 1 deletions

View File

@@ -76,7 +76,7 @@ public class DaliDt8DeviceHandler extends DaliDeviceHandler {
logger.warn("Unable to convert command {} to mireks", command);
return;
}
mirek = commandQuantity.toBigDecimal().intValue();
mirek = commandQuantity.intValue();
} else {
logger.warn("Unable to convert command {} to mireks", command);
return;