diff --git a/tests/components/stream/test_hls.py b/tests/components/stream/test_hls.py index a2c962ffb45..9d898d96d78 100644 --- a/tests/components/stream/test_hls.py +++ b/tests/components/stream/test_hls.py @@ -110,7 +110,7 @@ async def test_stream_ended(hass): while await track.recv() is not None: segments += 1 - assert segments == 3 + assert segments > 1 assert not track.get_segment() # Stop stream, if it hasn't quit already