From 6ea7011a07c83d556f207926ce03715378a5a08d Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Thu, 10 Aug 2023 18:24:25 +0200 Subject: [PATCH] Adjust ps4 tests which create devices (#98205) --- tests/components/ps4/test_media_player.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/components/ps4/test_media_player.py b/tests/components/ps4/test_media_player.py index acb84186c0b..74b13d2f909 100644 --- a/tests/components/ps4/test_media_player.py +++ b/tests/components/ps4/test_media_player.py @@ -325,6 +325,7 @@ async def test_device_info_is_assummed( ) -> None: """Test that device info is assumed if device is unavailable.""" # Create a device registry entry with device info. + MOCK_CONFIG.add_to_hass(hass) device_registry.async_get_or_create( config_entry_id=MOCK_ENTRY_ID, name=MOCK_HOST_NAME,