Added list of variables that can be used in <condition>

laddde 2019-10-13 17:00:13 +02:00
parent d492e04774
commit 220b40954e
1 changed files with 1 additions and 0 deletions

@ -41,6 +41,7 @@ IF statement supports 3 formats:
`UPTIME>100 AND MEM1==1 OR MEM2==1` `UPTIME>100 AND MEM1==1 OR MEM2==1`
Parenthesis can be used to change the priority of logical expression. For example: Parenthesis can be used to change the priority of logical expression. For example:
`UPTIME>100 AND (MEM1==1 OR MEM2==1)` `UPTIME>100 AND (MEM1==1 OR MEM2==1)`
- Following variables can be used in `<condition>`: `VARx` `MEMx` `TIME` `UPTIME` `UTCTIME` `LOCALTIME` `SUNRISE` `SUNSET`
`<statement-list>` `<statement-list>`
- A Sonoff-Tasmota command (e.g.,`LedPower on`) - A Sonoff-Tasmota command (e.g.,`LedPower on`)