User Tools

Site Tools


dictionary:unitcontrol:turnoff

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
dictionary:unitcontrol:turnoff [2019/06/09 13:24]
James Sentman [Optional Parameters:] updated the rate parameter
dictionary:unitcontrol:turnoff [2019/06/09 13:26] (current)
James Sentman [Examples:] added rate example
Line 7: Line 7:
  
 ===Optional Parameters:​=== ===Optional Parameters:​===
-  ​+
   * **in** (integer) If specified an event will be created to turn the device off in this number of seconds.   * **in** (integer) If specified an event will be created to turn the device off in this number of seconds.
   * **at** (date) Like the in parameter, an Apple Script date when you would like the unit to turn off.   * **at** (date) Like the in parameter, an Apple Script date when you would like the unit to turn off.
Line 26: Line 26:
 </​code>​ </​code>​
  
 +<code applescript>​
 +--do a slow fade to off
 +turnoff “Bedroom Overhead” rate 5 * minutes
 +</​code>​
 ===Notes:​=== ===Notes:​===
 The command will do nothing if the unit is [[block|Blocked]].\\ The command will do nothing if the unit is [[block|Blocked]].\\
dictionary/unitcontrol/turnoff.1560086680.txt.gz · Last modified: 2019/06/09 13:24 by James Sentman