added separate config for devices which support Color command as they otherwise miss being switched on/off that way

gitolicious 2018-11-18 23:30:36 +01:00
parent a593d669cb
commit 841ee2c936
1 changed files with 6 additions and 0 deletions

@ -86,6 +86,12 @@ This it the minimal set of items for the basic functionality of different Sonoff
{ mqtt="<[broker:tele/sonoff-E8A6E4/SENSOR:state:JSONPATH($.ENERGY.Power)]" }
```
* RGB(CW) LED stripes or other devices which support `Color` command (Read and switch on-state)
```java
Switch LivingRoom_Light "Living Room Light" <light> (LR,gLight)
{ mqtt=">[broker:cmnd/sonoff-000000/POWER:command:*:default],
<[broker:stat/sonoff-000000/RESULT:state:JSONPATH($.POWER)]" }
```
### Status Topics / Items
It is furthermore recommended, to add the following status items for every Sonoff-Tasmota device.