]> git.basschouten.com Git - openhab-addons.git/commit
GH-9936 Fixed datatype for brightness of the ambient light (#10065)
authorMichael Rumpf <michael@rumpfonline.de>
Mon, 8 Feb 2021 22:40:02 +0000 (23:40 +0100)
committerGitHub <noreply@github.com>
Mon, 8 Feb 2021 22:40:02 +0000 (23:40 +0100)
commit717ef5950a064ba4599f5cb2c9a89a07ac6469e3
tree9a81d885ff09369687b0a482348f2efb37d77405
parenta3f54134cabcfabaa86a84a7f6407136887bb531
GH-9936 Fixed datatype for brightness of the ambient light (#10065)

The ceiling10 Yeelight lamp has 2 dimmer for brightness:
"bright" for the main light and bg_bright for the ambient light.
Both are of type dimmer and accept percentage values between 1 and 100.
This fix changes the datatype of the bg_bright property from Number
to Dimmer in the device mapping database file ceiling4, which is also
the one that is used for the ceiling10 lamp.

Accepted without sign-off under minor change exemption.
bundles/org.openhab.binding.miio/src/main/resources/database/yeelink.light.ceiling4.json