1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-21 19:23:45 +01:00

fix flakey

This commit is contained in:
J. Nick Koston
2025-10-16 06:07:41 -10:00
parent 0200d7c358
commit b5c4dc13e0

View File

@@ -60,16 +60,15 @@ class InitialStateHelper:
not_waiting = {
(e.device_id, e.key) for e in entities
} - self._wait_initial_states
if not_waiting:
not_waiting_info = [
f"{type(self._entities_by_id[k]).__name__}:{self._entities_by_id[k].object_id}"
for k in not_waiting
]
_LOGGER.debug(
"InitialStateHelper: NOT waiting for %d entities: %s",
len(not_waiting),
[
(
type(self._entities_by_id[k]).__name__,
self._entities_by_id[k].object_id,
)
for k in not_waiting
],
not_waiting_info,
)
# Create future in the running event loop