| Line 1: |
Line 1: |
| − | <span style="color: #0E9549; font-size: 24px;">'''About this constraint '''</span> | + | <pre class="header-style">This constraint allows or prevents a macro/feature from running based on the current time.</pre> |
| | | | |
| − | This constraint can be used to allow a trigger to fire only when the current time is within the specified time period.
| + | ''' Options ''' |
| | + | |
| | + | * '''Time Range''' - Select a start and end time |
| | + | * '''Days''' - Optionally limit the days of the week |
| | + | |
| | + | ''' Example ''' |
| | + | |
| | + | ''Example 1: Enable DND only at night'' |
| | + | <pre class="trigger-style">Triggers |
| | + | |
| | + | Screen On/Off - Screen On</pre> |
| | + | <pre class="action-style">Actions |
| | + | |
| | + | Priority Mode / Do Not Disturb (Priority Only)</pre> |
| | + | <pre class="constraint-style">Constraints |
| | + | |
| | + | Time of Day - 22:00-06:00</pre> |
| | + | |
| | + | ''' See Also ''' |
| | + | |
| | + | * [[Trigger: Day/Time Trigger|Day/Time Trigger Trigger]] |