mirror of
https://github.com/home-assistant/core.git
synced 2025-08-05 21:55:10 +02:00
Create bond fallback polling tasks eagerly (#114705)
There was not reason to delay here
This commit is contained in:
@@ -128,7 +128,7 @@ class BondEntity(Entity):
|
|||||||
_FALLBACK_SCAN_INTERVAL,
|
_FALLBACK_SCAN_INTERVAL,
|
||||||
)
|
)
|
||||||
return
|
return
|
||||||
self.hass.async_create_task(self._async_update())
|
self.hass.async_create_task(self._async_update(), eager_start=True)
|
||||||
|
|
||||||
async def _async_update(self) -> None:
|
async def _async_update(self) -> None:
|
||||||
"""Fetch via the API."""
|
"""Fetch via the API."""
|
||||||
|
Reference in New Issue
Block a user