mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-05-07 11:38:58 +00:00
Quick time window update (#1479)
Added example of windo crossing midnight as per https://github.com/home-assistant/home-assistant/pull/2158
This commit is contained in:
parent
0e8ad94d3a
commit
60d706ef8d
@ -132,7 +132,7 @@ The time condition can test if it is after a specified time, before a specified
|
|||||||
condition: time
|
condition: time
|
||||||
# At least one of the following is required.
|
# At least one of the following is required.
|
||||||
after: '15:00:00'
|
after: '15:00:00'
|
||||||
before: '23:00:00'
|
before: '02:00:00'
|
||||||
weekday:
|
weekday:
|
||||||
- mon
|
- mon
|
||||||
- wed
|
- wed
|
||||||
@ -140,6 +140,7 @@ weekday:
|
|||||||
```
|
```
|
||||||
|
|
||||||
Valid values for `weekday` are `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`.
|
Valid values for `weekday` are `mon`, `tue`, `wed`, `thu`, `fri`, `sat`, `sun`.
|
||||||
|
Time condition windows can span across the midnight threshold. In the example above, the condition window is from 3pm to 2am.
|
||||||
|
|
||||||
### {% linkable_title Zone condition %}
|
### {% linkable_title Zone condition %}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user