diff --git a/tests/components/history/test_init_db_schema_30.py b/tests/components/history/test_init_db_schema_30.py index 392c06f8433..7c1b7a5e97b 100644 --- a/tests/components/history/test_init_db_schema_30.py +++ b/tests/components/history/test_init_db_schema_30.py @@ -69,7 +69,9 @@ def db_schema_30(): with patch.object(recorder, "db_schema", old_db_schema), patch.object( recorder.migration, "SCHEMA_VERSION", old_db_schema.SCHEMA_VERSION - ), patch.object(core, "EventData", old_db_schema.EventData), patch.object( + ), patch.object(core, "EventTypes", old_db_schema.EventTypes), patch.object( + core, "EventData", old_db_schema.EventData + ), patch.object( core, "States", old_db_schema.States ), patch.object( core, "Events", old_db_schema.Events