]> git.basschouten.com Git - openhab-addons.git/commit
[miio] fix reported brightness for yeelight (#15611)
authorMarcel <marcel@verpaalen.com>
Sat, 23 Sep 2023 16:38:58 +0000 (18:38 +0200)
committerGitHub <noreply@github.com>
Sat, 23 Sep 2023 16:38:58 +0000 (18:38 +0200)
commit7a0d05781a8e823ddab0a573f053c418d3ce3005
tree96818a252eb368c56b66c8d3a9ec557435275917
parent1da4dca257274f1bbfda8ed64728113014de00cd
[miio] fix reported brightness for yeelight (#15611)

Fix reported brightness for yeelight when powered off.
This will fix wrong power switch visualization in the OH UI.

related to issue:
https://community.openhab.org/t/miio-and-yeelight-rgb-bulbs-behavior/135788/9

Signed-off-by: Marcel Verpaalen <marcel@verpaalen.com>
bundles/org.openhab.binding.miio/src/main/java/org/openhab/binding/miio/internal/basic/Conversions.java
bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.color1.json