]> git.basschouten.com Git - openhab-addons.git/commitdiff
[mqtt.generic] Change color example (#13861)
authorUdo Hartmann <udo1toni@users.noreply.github.com>
Wed, 14 Dec 2022 07:21:34 +0000 (08:21 +0100)
committerGitHub <noreply@github.com>
Wed, 14 Dec 2022 07:21:34 +0000 (08:21 +0100)
Change color example to fit to the real parameters.

bundles/org.openhab.binding.mqtt.generic/README.md

index c235db69503d21228684457b33c9619a295a9935..92416d593bbb58857be5aa272495c53282951748 100644 (file)
@@ -255,7 +255,7 @@ Thing mqtt:topic:mything "mything" (mqtt:broker:myInsecureBroker) {
     Type switch : lamp "Kitchen Lamp" [ stateTopic="lamp/enabled", commandTopic="lamp/enabled/set" ]
     Type switch : fancylamp "Fancy Lamp" [ stateTopic="fancy/lamp/state", commandTopic="fancy/lamp/command", on="i-am-on", off="i-am-off" ]
     Type string : alarmpanel "Alarm system" [ stateTopic="alarm/panel/state", commandTopic="alarm/panel/set", allowedStates="ARMED_HOME,ARMED_AWAY,UNARMED" ]
-    Type color : lampcolor "Kitchen Lamp color" [ stateTopic="lamp/color", commandTopic="lamp/color/set", rgb=true ]
+    Type color : lampcolor "Kitchen Lamp color" [ stateTopic="lamp/color", commandTopic="lamp/color/set", colorMode="RGB" ]
     Type dimmer : blind "Blind" [ stateTopic="blind/state", commandTopic="blind/set", min=0, max=5, step=1 ]
 }
 ```