mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-09 02:16:50 +00:00
Add support for multiple time triggers in automations (#14035)
This commit is contained in:
parent
cbbd5082e5
commit
accbc276de
@ -313,6 +313,17 @@ automation:
|
||||
at: "15:32:00"
|
||||
```
|
||||
|
||||
Or at multiple specific times:
|
||||
|
||||
```yaml
|
||||
automation:
|
||||
trigger:
|
||||
platform: time
|
||||
at:
|
||||
- "15:32:00"
|
||||
- "20:30:00"
|
||||
```
|
||||
|
||||
### Time pattern trigger
|
||||
|
||||
With the time pattern trigger, you can match if the hour, minute or second of the current time matches a specific value. You can prefix the value with a `/` to match whenever the value is divisible by that number. You can specify `*` to match any value (when using the web interface this is required, the fields cannot be left empty).
|
||||
|
Loading…
x
Reference in New Issue
Block a user