Updated Automation Example with time_pattern (#8256)

I'm 99% sure this needs to be time_pattern now as opposed to time.
This commit is contained in:
Tom L 2019-01-24 11:39:16 +00:00 committed by Franck Nijhof
parent 9dcf0d0937
commit 1bd3c758a0

View File

@ -141,7 +141,7 @@ usage is to only retrieve data during the daytime:
automation: automation:
- alias: Update OpenUV every 30 minutes during the daytime - alias: Update OpenUV every 30 minutes during the daytime
trigger: trigger:
platform: time platform: time_pattern
minutes: "/30" minutes: "/30"
seconds: 00 seconds: 00
condition: condition:
@ -163,7 +163,7 @@ etc.) might be to simply query the API less often:
automation: automation:
- alias: Update OpenUV every hour (24 of 50 calls per day) - alias: Update OpenUV every hour (24 of 50 calls per day)
trigger: trigger:
platform: time platform: time_pattern
minutes: "/60" minutes: "/60"
seconds: 00 seconds: 00
action: action: