diff --git a/tests/components/schedule/test_init.py b/tests/components/schedule/test_init.py index 0eda21f5ba0bf8ae6de5b826ff4bf014cdd7ebcb..92a82b974dfde6f90fc8e7ac9ff08b3ddba4356d 100644 --- a/tests/components/schedule/test_init.py +++ b/tests/components/schedule/test_init.py @@ -176,15 +176,10 @@ async def test_invalid_schedules( assert error in caplog.text -@pytest.mark.parametrize( - "schedule", - ({CONF_FROM: "07:00:00", CONF_TO: "11:00:00"},), -) async def test_events_one_day( hass: HomeAssistant, schedule_setup: Callable[..., Coroutine[Any, Any, bool]], caplog: pytest.LogCaptureFixture, - schedule: list[dict[str, str]], freezer, ) -> None: """Test events only during one day of the week.""" @@ -196,7 +191,7 @@ async def test_events_one_day( "from_yaml": { CONF_NAME: "from yaml", CONF_ICON: "mdi:party-popper", - CONF_SUNDAY: schedule, + CONF_SUNDAY: {CONF_FROM: "07:00:00", CONF_TO: "11:00:00"}, } } },