mirror of https://github.com/arendst/Tasmota.git
Added list of variables that can be used in <condition>
parent
d492e04774
commit
220b40954e
|
@ -41,6 +41,7 @@ IF statement supports 3 formats:
|
|||
`UPTIME>100 AND MEM1==1 OR MEM2==1`
|
||||
Parenthesis can be used to change the priority of logical expression. For example:
|
||||
`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>`
|
||||
- A Sonoff-Tasmota command (e.g.,`LedPower on`)
|
||||
|
|
Loading…
Reference in New Issue