[time] Use set_interval for CronTrigger instead of loop()

This commit is contained in:
J. Nick Koston
2026-04-03 18:10:17 -10:00
parent 2337767c38
commit 89ff3491b6
3 changed files with 15 additions and 2 deletions
+7
View File
@@ -6,5 +6,12 @@ api:
time:
- platform: homeassistant
on_time:
- at: "16:00:00"
then:
- logger.log: It's 16:00
- cron: "0 30 * * * *"
then:
- logger.log: Every hour at 30 minutes
- platform: sntp
id: sntp_time