Start async_schedule_update_ha_state task eagerly (#114704)
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…
Reference in New Issue