![]() ![]() The names SUN to SAT are automatically substituted. Range is from 1 (January) to 12 (December).ĭays_of_week ( Optional, string): Specify for which days of the week to trigger.ĭefaults to * (all days). The month names JAN to DEC are automatically substituted. Months ( Optional, string): Specify for which months of the year to trigger.ĭefaults to * (all months). Range is from 0 to 23.ĭays_of_month ( Optional, string): Specify for which days of the month the automation will trigger.ĭefaults to * (all days). Hours ( Optional, string): Specify for which hours of the day the automation will trigger.ĭefaults to * (all hours). Minutes ( Optional, string): Specify for which minutes of the hour the automation will trigger.ĭefaults to * (all minutes). Seconds ( Optional, string): Specify for which seconds of the minute the automation will trigger.ĭefaults to * (all seconds). on_time : # Every 5 minutes - seconds : 0 minutes : /5 then : - switch.toggle : my_switch # Every morning on weekdays - seconds : 0 minutes : 30 hours : 7 days_of_week : MON-FRI then : - light.turn_on : my_light # Cron syntax, trigger every 5 minutes - cron : '00 /5 * * * *' then : - switch.toggle : my_switch This Condition checks if time has been set and is valid. On_time_sync ( Optional, Automation): Automation to run when the time sourceĬould be (re-)synchronized. On_time ( Optional, Automation): Automation to run at specific intervals using That is running ESPHome, but this might not always be accurate. ESPHome tries to automatically infer the time zone string based on the time zone of the computer Or the simpler TZ database name in the form (warning: the format is quite complicated, see examples) Timezone ( Optional, string): Manually tell ESPHome what time zone to use with this format Id ( Optional, ID): Specify the ID of the time for use in lambdas. ![]() Base Time Configuration ¶Īll time configuration schemas inherit these options. You can then get the current time in lambdas. The time component allows you to set up real time clock time sources for ESPHome. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |