Remove duplicate name from Wyoming TTS entity (#91930)

This commit is contained in:
Paulus Schoutsen 2023-04-23 21:13:32 -04:00 committed by GitHub
parent 14d2645de2
commit c8c8e4dede
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -66,12 +66,6 @@ class WyomingTtsProvider(tts.TextToSpeechEntity):
self._attr_name = self._tts_service.name
self._attr_unique_id = f"{config_entry.entry_id}-tts"
@property
def name(self) -> str | None:
"""Return the name of the provider entity."""
# Only one entity is allowed per platform for now.
return self._tts_service.name
@property
def default_language(self):
"""Return default language."""