diff --git a/tests/components/tts/test_init.py b/tests/components/tts/test_init.py index 664eefe60fe..9205b45d94a 100644 --- a/tests/components/tts/test_init.py +++ b/tests/components/tts/test_init.py @@ -39,7 +39,6 @@ from .common import ( ) from tests.common import ( - MockEntityPlatform, MockModule, async_mock_service, mock_integration, @@ -62,7 +61,6 @@ class DefaultEntity(tts.TextToSpeechEntity): async def test_default_entity_attributes(hass: HomeAssistant) -> None: """Test default entity attributes.""" entity = DefaultEntity() - entity.platform = MockEntityPlatform(hass) assert entity.hass is None assert entity.default_language == DEFAULT_LANG