620 bytes added
, 9 January
<pre class="header-style">This trigger fires when the device torch (flashlight) is turned on or off.</pre>
''' Options '''
* '''On''' - Trigger when the torch is turned on
* '''Off''' - Trigger when the torch is turned off
''' Examples '''
''Example: Turn the screen off when the torch is turned on''
<pre class="trigger-style">Triggers
Torch On/Off - On</pre>
<pre class="action-style">Actions
Screen Off</pre>
Write to File - Append "Torch off at {hour}:{minute}" to torch_log.txt</pre>
''' See Also '''
* [[Action: Torch On/Off|Torch On/Off Action]]
* [[Constraint: Torch On/Off|Torch On/Off Constraint]]