From 01ef608ed28c1bdbd33322e4e5919d4662b4a8e4 Mon Sep 17 00:00:00 2001 From: Otto Winter Date: Thu, 7 Jun 2018 23:12:51 +0200 Subject: [PATCH] Fix time docs --- esphomeyaml/guides/configuration-types.rst | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/esphomeyaml/guides/configuration-types.rst b/esphomeyaml/guides/configuration-types.rst index ee025b5c0..3051522ba 100644 --- a/esphomeyaml/guides/configuration-types.rst +++ b/esphomeyaml/guides/configuration-types.rst @@ -120,8 +120,11 @@ There are several ways of doing this. See below examples to see how you can spec some_time_option: 1.5s # 1.5 seconds some_time_option: 0.5min # half a minute some_time_option: 2h # 2 hours - some_time_option: 2:01 # 2 hours 1 minute - some_time_option: 2:01:30 # 2 hours 1 minute 30 seconds + + # Make sure you wrap these in quotes + some_time_option: '2:01' # 2 hours 1 minute + some_time_option: '2:01:30' # 2 hours 1 minute 30 seconds + # 10ms + 30s + 25min + 3h some_time_option: milliseconds: 10