Fix flaky history_stats test case (#149974)

This commit is contained in:
Marc Mueller 2025-08-04 20:34:07 +02:00 committed by GitHub
parent 73ca6b4900
commit 94f2118b19
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -400,10 +400,10 @@ async def test_options_flow_preview(
msg = await client.receive_json()
assert msg["event"]["state"] == exp_count
hass.states.async_set(monitored_entity, "on")
hass.states.async_set(monitored_entity, "on")
msg = await client.receive_json()
assert msg["event"]["state"] == "3"
msg = await client.receive_json()
assert msg["event"]["state"] == "3"
async def test_options_flow_preview_errors(