Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[dali] Tweak color temperature abs QuantityType fix #14029

Merged
merged 1 commit into from
Dec 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions bundles/org.openhab.binding.dali/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -82,5 +82,6 @@ Bridge dali:daliserver:237dbae7 "Daliserver" [ host="localhost", port=55825] {
```java
Dimmer WarmWhiteLivingRoom "Warm White Living Room" {channel="dali:device:237dbae7:995e16ca-07c4-4111-9cda-504cb5120f82:dimImmediately"}
Color ColorLivingRoom "Light Color Living Room" {channel="dali:device:237dbae7:87bf0403-a45d-4037-b874-28f4ece30004:color"}
Number:Temperature ColorTemperatureLivingRoom "Light Color Temperature Living Room [%d K]" {channel="dali:device:237dbae7:87bf0403-a45d-4037-b874-28f4ece30004:color-temperature-abs"}
Switch LightsLivingRoom "Lights Living Room On/Off" {channel="dali:device:237dbae7:31da8dac-8e09-455a-bc7a-6ed70f740001:dimImmediately"}
```
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ public void handleCommand(ChannelUID channelUID, Command command) {
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;
Expand Down