Adding 'Tele'-prefix for rules. I will try to re-evaluate my driver. Maybe it is possible to get rid of it.

Christian 2019-06-03 09:12:00 +02:00
parent b91b54b166
commit 0fc11117e4
1 changed files with 2 additions and 2 deletions

@ -58,10 +58,10 @@ The APDS-9960 chip (or breakout board) must be connected to the ESP8266 and the
### Example rules ### Example rules
#### Power on light when ambient light is below 100 lux. #### Power on light when ambient light is below 100 lux.
`rule on APDS9960#Ambient<100 do power on endon on APDS9960#Ambient>110 do power off endon` `rule on Tele-APDS9960#Ambient<100 do power on endon on Tele-APDS9960#Ambient>110 do power off endon`
##### Control ON/OFF, brightness and color temperature with gestures ##### Control ON/OFF, brightness and color temperature with gestures
`rule on APDS9960#Long do power toggle endon on APDS9960#Up do dimmer + endon on APDS9960#Down do dimmer - endon on APDS9960#Left do ct + endon on APDS9960#Right do ct - endon` `rule on Tele-APDS9960#Long do power toggle endon on Tele-APDS9960#Up do dimmer + endon on Tele-APDS9960#Down do dimmer - endon on Tele-APDS9960#Left do ct + endon on Tele-APDS9960#Right do ct - endon`
``` ```
LONG: toggle ON/OFF LONG: toggle ON/OFF
UP: increase brightness UP: increase brightness