1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-03 03:42:20 +01:00

[pre-commit.ci lite] apply automatic fixes

This commit is contained in:
pre-commit-ci-lite[bot]
2025-07-16 01:35:26 +00:00
committed by GitHub
parent b974ccabac
commit a477249266
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ async def test_host_mode_api_password(
# Wait for at least one state with timeout
try:
await asyncio.wait_for(state_future, timeout=5.0)
except asyncio.TimeoutError:
except TimeoutError:
pytest.fail("No states received within timeout")
# Should have received at least one state (the test sensor)