From 60d706ef8d92a9940de8fc00ca8f1330c45a7f7d Mon Sep 17 00:00:00 2001 From: Carlo Costanzo Date: Wed, 23 Nov 2016 01:53:14 -0500 Subject: [PATCH] Quick time window update (#1479) Added example of windo crossing midnight as per https://github.com/home-assistant/home-assistant/pull/2158 --- source/getting-started/scripts-conditions.markdown | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/getting-started/scripts-conditions.markdown b/source/getting-started/scripts-conditions.markdown index 68c2511001f..cbf6652398a 100644 --- a/source/getting-started/scripts-conditions.markdown +++ b/source/getting-started/scripts-conditions.markdown @@ -132,7 +132,7 @@ The time condition can test if it is after a specified time, before a specified condition: time # At least one of the following is required. after: '15:00:00' -before: '23:00:00' +before: '02:00:00' weekday: - mon - wed @@ -140,6 +140,7 @@ weekday: ``` 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 %}