mirror of https://github.com/arendst/Tasmota.git
Updated Scripting Language (markdown)
parent
d134f710aa
commit
3793942103
|
@ -210,7 +210,8 @@ then
|
|||
|
||||
Remarks:
|
||||
The last closing bracket must be on a single line
|
||||
The condition may not be enclosed in brackets
|
||||
The condition may be enclosed in brackets
|
||||
and on the same line conditions may be bracketed e.g. if ((a==b) and ((c==d) or (c==e)) and (s!="x"))
|
||||
|
||||
`break` exits a section or terminates a `for next` loop
|
||||
`dpx` sets decimal precision to x (0-9)
|
||||
|
@ -279,4 +280,4 @@ The script itself can't be set because the size would not fit the mqtt buffers
|
|||
|
||||
**Subscribe, Unsubscribe**
|
||||
`#define SUPPORT_MQTT_EVENT`
|
||||
`subscribe` and `unsubscribe` commands are supported. In contrast to rules, no event is generated but the event name specifies a variable defined in `>D` section and this variable is automatically set on transmission of the subscribed item
|
||||
`subscribe` and `unsubscribe` commands are supported. In contrast to rules, no event is generated but the event name specifies a variable defined in `>D` section and this variable is automatically set on transmission of the subscribed item
|
Loading…
Reference in New Issue