Adding documentation for timestamp-update and timestamp-change profiles. (#941)
Signed-off-by: Gaël L'hopital <gael@lhopital.org>pull/943/head
parent
b5ae868315
commit
74f75c8004
|
@ -688,6 +688,9 @@ You can find the documentation of these Profiles within the [Add-On documentatio
|
|||
| `rawbutton-toggle-switch` | Trigger | Color, Dimmer, Switch | This Profile can only be used on Channels of the type `system.rawbutton`. On those channels, it will toggle the Item state when `PRESSED` events arrive. This Profile can e.g. be used to add button channels to a lighting item which will enable you to turn the lighting on and off with your button. |
|
||||
| `rawrocker-to-on-off` | Trigger | Dimmer, Switch | This Profile can only be used on Channels of the type `system.rawrocker`. On those channels, it will convert a press on the first rocker button to an `ON` command while the second one will be converted to an `OFF` command. |
|
||||
| `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. |
|
||||
| `timestamp-update` | State | All | This profile will update a DateTime Item to track every update of the state of a given channel, whatever the state is. |
|
||||
| `timestamp-change` | State | All | This profile will update a DateTime Item to track every change of the state of a given channel. |
|
||||
|
||||
Example: You have an Item called `Bedroom_Light` that is connected to a Hue lamp
|
||||
```java
|
||||
Color Bedroom_Light { channel="hue:0210:1:bulb1:color" }
|
||||
|
|
Loading…
Reference in New Issue