Actions SetVar - thica/ORCA-Remote GitHub Wiki
Simple: sets a variable name to a given value. The value can be either a constant or value of another variable
Attribute | Description |
---|---|
string | setvar |
varname | Variable name to change its value |
varvalue | Value to set |
varcontext | Optinal:Context of the variable. Makes a variable local to the context |
You can use the short form as well: "setvar varname=varvalue"
A short example:
<action name="" string="setvar" varname="POWERSTATUS_kodi" varvalue="OFF" />
<action name="" string="setvar POWERSTATUS_kodi=OFF" />