Start async_schedule_update_ha_state task eagerly (#114704)

pull/112023/head
J. Nick Koston 2024-04-05 08:14:21 -10:00 committed by GitHub
parent 850361d1da
commit aeaed83578
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -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()