diff --git a/tests/sensors/test_time_delta.py b/tests/sensors/test_time_delta.py index 159cefab9ceaa..91a768b5b75c2 100644 --- a/tests/sensors/test_time_delta.py +++ b/tests/sensors/test_time_delta.py @@ -57,7 +57,7 @@ def setup_method(self): @pytest.mark.parametrize( "data_interval_end, delta, should_deffer", [ - (REFERENCE_TIME.add(hours=-1), timedelta(hours=1), False), + (REFERENCE_TIME.add(hours=-1, minutes=-1), timedelta(hours=1), False), (REFERENCE_TIME, timedelta(hours=1), True), ], )