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

This commit is contained in:
J. Nick Koston
2026-04-03 18:11:45 -10:00
parent 2337767c38
commit f6f07ef147
3 changed files with 12 additions and 2 deletions
+4
View File
@@ -6,5 +6,9 @@ api:
time:
- platform: homeassistant
on_time:
- cron: "*/10 * * * * *"
then:
- logger.log: "CronTrigger fired (every 10 seconds)"
- platform: sntp
id: sntp_time