]> git.basschouten.com Git - openhab-addons.git/commit
[mqtt.espmilighthub] use ColorUtil instead of deprecated HSBType.fromXY (#16066)
authorCody Cutrer <cody@cutrer.us>
Fri, 15 Dec 2023 18:48:17 +0000 (11:48 -0700)
committerGitHub <noreply@github.com>
Fri, 15 Dec 2023 18:48:17 +0000 (19:48 +0100)
commitcece5c589b3e0d5ec29e59eb3b04e1d0fc4e7bfd
treee2bf6752e37fc465b6569798cf772abd7fea9b25
parent98fb791dc554c927389715dcdbeb3320576af3ff
[mqtt.espmilighthub] use ColorUtil instead of deprecated HSBType.fromXY (#16066)

and fix that it expects ranges from 0.0 to 1.0 instead of 0.0 to 100.0

Signed-off-by: Cody Cutrer <cody@cutrer.us>
bundles/org.openhab.binding.mqtt.espmilighthub/src/main/java/org/openhab/binding/mqtt/espmilighthub/internal/handler/EspMilightHubHandler.java