-
Notifications
You must be signed in to change notification settings - Fork 3
Actions SetVar
thica edited this page Jan 10, 2020
·
6 revisions
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" />