mirror of
https://github.com/home-assistant/core.git
synced 2025-04-23 16:57:53 +00:00
Fix lingering timer in usgs_earthquakes_feed (#93084)
This commit is contained in:
parent
32b70ea133
commit
9bd49e4f1d
@ -165,7 +165,9 @@ class UsgsEarthquakesFeedEntityManager:
|
||||
await self.async_update()
|
||||
|
||||
# Trigger updates at regular intervals.
|
||||
async_track_time_interval(self._hass, update, self._scan_interval)
|
||||
async_track_time_interval(
|
||||
self._hass, update, self._scan_interval, cancel_on_shutdown=True
|
||||
)
|
||||
_LOGGER.debug("Feed entity manager initialized")
|
||||
|
||||
async def async_update(self) -> None:
|
||||
|
Loading…
x
Reference in New Issue
Block a user