]> git.basschouten.com Git - openhab-addons.git/commitdiff
[tplinksmarthome] Fixed invalid channels in KL125/KL135. (#11680)
authorHilbrand Bouwkamp <hilbrand@h72.nl>
Wed, 1 Dec 2021 10:57:09 +0000 (11:57 +0100)
committerGitHub <noreply@github.com>
Wed, 1 Dec 2021 10:57:09 +0000 (11:57 +0100)
These are color bulbs and should have the color channel instead of the brightness channel.
Closes #11660

Signed-off-by: Hilbrand Bouwkamp <hilbrand@h72.nl>
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KL125.xml
bundles/org.openhab.binding.tplinksmarthome/src/main/resources/OH-INF/thing/KL135.xml

index 3583b6057f72f008ec3be8a73e373cadb2a995b1..fff94fa871efff87553b86306ec68e003a147b77 100644 (file)
@@ -10,7 +10,7 @@
                <category>Lightbulb</category>
 
                <channels>
-                       <channel id="brightness" typeId="system.brightness"/>
+                       <channel id="color" typeId="system.color"/>
                        <channel id="colorTemperature" typeId="system.color-temperature"/>
                        <channel id="colorTemperatureAbs" typeId="colorTemperatureAbs3"/>
                        <channel id="power" typeId="power"/>
index 297014467b64fa4608fbe3509ddfd00b21066b7b..ec025384916bb01f5fe732a6514a9d0519e47b1b 100644 (file)
@@ -10,7 +10,7 @@
                <category>Lightbulb</category>
 
                <channels>
-                       <channel id="brightness" typeId="system.brightness"/>
+                       <channel id="color" typeId="system.color"/>
                        <channel id="colorTemperature" typeId="system.color-temperature"/>
                        <channel id="colorTemperatureAbs" typeId="colorTemperatureAbs3"/>
                        <channel id="power" typeId="power"/>