mirror of
https://github.com/home-assistant/core.git
synced 2025-12-24 21:06:19 +00:00
Borrows the same design from homeassistant.helpers.storage to avoid rescheduling the timer every time async_schedule is called if a timer is already running. Instead of the timer fires too early it gets rescheduled for the time we wanted it. This avoids 1000s of timer add/cancel during startup