mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-01-26 22:21:38 +01:00
Fix time docs
This commit is contained in:
parent
a358c6e3e8
commit
01ef608ed2
@ -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: 1.5s # 1.5 seconds
|
||||||
some_time_option: 0.5min # half a minute
|
some_time_option: 0.5min # half a minute
|
||||||
some_time_option: 2h # 2 hours
|
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
|
# 10ms + 30s + 25min + 3h
|
||||||
some_time_option:
|
some_time_option:
|
||||||
milliseconds: 10
|
milliseconds: 10
|
||||||
|
Loading…
Reference in New Issue
Block a user