| Line 1: |
Line 1: |
| − | <pre style="background-color: #ACC8E5; color: #112A46; border-radius: 10px; padding: 10px;"> | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the Wi-Fi hotspot state.</pre> |
| − | This constraint can be used to allow a trigger to fire only when the wifi hotspot is enabled/disabled. | + | |
| − | </pre> | + | ''' Options ''' |
| | + | |
| | + | * '''Enabled''': Constraint passes only when hotspot is on |
| | + | * '''Disabled''': Constraint passes only when hotspot is off |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Disable Wi-Fi when hotspot is enabled'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Screen On/Off - Screen On</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Wifi Configure (Disable)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Wifi HotSpot State - Enabled</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Hotspot Enabled/Disabled|Hotspot Enabled/Disabled Trigger]] |