diff --git a/tests/components/history/test_init.py b/tests/components/history/test_init.py index 8c0a80719a8..56ac68d944d 100644 --- a/tests/components/history/test_init.py +++ b/tests/components/history/test_init.py @@ -994,7 +994,7 @@ async def test_statistics_during_period_in_the_past( assert response["success"] assert response["result"] == {} - past = now - timedelta(days=3) + past = now - timedelta(days=3, hours=1) await client.send_json( { "id": 3,