mirror of
https://github.com/home-assistant/core.git
synced 2025-07-15 17:27:10 +00:00
Start async_schedule_update_ha_state task eagerly (#114704)
This commit is contained in:
parent
850361d1da
commit
aeaed83578
@ -1234,6 +1234,7 @@ class Entity(
|
||||
self.hass.async_create_task(
|
||||
self.async_update_ha_state(force_refresh),
|
||||
f"Entity schedule update ha state {self.entity_id}",
|
||||
eager_start=True,
|
||||
)
|
||||
else:
|
||||
self.async_write_ha_state()
|
||||
|
Loading…
x
Reference in New Issue
Block a user