dictionary:unitinformation:thisunit
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
dictionary:unitinformation:thisunit [2009/09/28 21:11] – external edit 127.0.0.1 | dictionary:unitinformation:thisunit [2023/02/13 14:52] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
====This Unit==== | ====This Unit==== | ||
+ | |||
in a Unit ON or OFF script this will be set to the name of the unit. If you need to reference the parent unit in it's scripts this will save you having to edit scripts all over the place if you want to change unit names in the future. | in a Unit ON or OFF script this will be set to the name of the unit. If you need to reference the parent unit in it's scripts this will save you having to edit scripts all over the place if you want to change unit names in the future. | ||
+ | If an error occurs in a Unit’s on or off script then the value will also be set in the [[dictionary: | ||
===Usage: | ===Usage: | ||
**thisUnit**\\ | **thisUnit**\\ | ||
Line 11: | Line 13: | ||
turnoff (thisUnit) in 2 * minutes | turnoff (thisUnit) in 2 * minutes | ||
</ | </ | ||
+ | |||
+ | ===See Also:=== | ||
+ | * [[dictionary: | ||
+ | * [[dictionary: |
dictionary/unitinformation/thisunit.1254172282.txt.gz · Last modified: 2023/02/13 14:51 (external edit)