[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user