Fix flaky track template result group test (#183837)

Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
epenet
2026-10-01 09:01:40 +02:00
committed by GitHub
co-authored by Claude Opus 5.5
parent 86e70040bc
commit 1cecd31b3a
+2
View File
@@ -2020,6 +2020,8 @@ async def test_track_template_result_with_group(hass: HomeAssistant) -> None:
"""
template_complex = Template(template_complex_str, hass)
# Run in the event loop; executor jobs may append results out of order
@callback
def specific_run_callback(
event: Event[EventStateChangedData] | None,
updates: list[TrackTemplateResult],