mirror of
https://github.com/home-assistant/core.git
synced 2025-08-04 21:25:13 +02:00
Remove duplicate name from Wyoming TTS entity (#91930)
This commit is contained in:
@@ -66,12 +66,6 @@ class WyomingTtsProvider(tts.TextToSpeechEntity):
|
|||||||
self._attr_name = self._tts_service.name
|
self._attr_name = self._tts_service.name
|
||||||
self._attr_unique_id = f"{config_entry.entry_id}-tts"
|
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
|
@property
|
||||||
def default_language(self):
|
def default_language(self):
|
||||||
"""Return default language."""
|
"""Return default language."""
|
||||||
|
Reference in New Issue
Block a user