Fix Profile examples (#835)

Signed-off-by: Patrick Fink <mail@pfink.de>
pull/839/head
Patrick Fink 2018-12-30 16:39:59 +01:00 committed by Jerome Luckenbach
parent ed3d0e8a11
commit a9b2469c8e
1 changed files with 2 additions and 2 deletions

View File

@ -690,7 +690,7 @@ You can find the documentation of these Profiles within the [Add-On documentatio
| `rawrocker-to-dimmer` | Trigger | Dimmer | Same as `rawrocker-to-on-off`, but additionally it allows to dim by holding the respective button. Technically, this Profile sends an `INCREASE` or `DECREASE` Command every 500 milliseconds while you hold.
Example: You have an Item called `Bedroom_Light` that is connected to a Hue lamp
```java
Item Bedroom_Light { channel="hue:0210:1:bulb1:color" }
Color Bedroom_Light { channel="hue:0210:1:bulb1:color" }
```
and a [Rule]({{base}}/configuration/rules-dsl.html) to toggle this light with a serial button:
```java
@ -707,7 +707,7 @@ end
Instead of using this Rule, you can also use the `rawbutton-toggle-switch` Profile in combination with [Multi-Channel Linking](#multi-binding-channel-linkage):
```java
Item Bedroom_Light { channel="hue:0210:1:bulb1:color", channel="serialbutton:button:mybutton:button" [profile="rawbutton-toggle-switch"] }
Color Bedroom_Light { channel="hue:0210:1:bulb1:color", channel="serialbutton:button:mybutton:button" [profile="rawbutton-toggle-switch"] }
```
This will make your Rule obsolete. So with Profiles, you can significantly reduce the amount of Rules you need for your Smart Home which helps you to keep your configuration short and clear.