forked from openhab/openhab-addons
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[homekit] Use BigDecimal to ensure accurate rounding (openhab#7777)
Temperature values are often not reported correctly in HomeKit especially when they are in Fahrenheit this also has the side effect of having no decimal when using Fahrenheit temperatures. This intends to fix this and allows for accurate rounding and reporting of temperatures. Signed-off-by: Ethan Dye <[email protected]> Signed-off-by: Daan Meijer <[email protected]>
- Loading branch information
1 parent
10697f2
commit c1bfc02
Showing
3 changed files
with
20 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters