Skip to content

Commit

Permalink
fix: provide updated message for use of HA tts UI
Browse files Browse the repository at this point in the history
  • Loading branch information
alandtse committed Aug 31, 2019
1 parent fb432af commit 46b9d88
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions custom_components/alexa_media/media_player.py
Expand Up @@ -730,9 +730,10 @@ async def async_play_media(self,
media_type, media_id, enqueue=None, **kwargs):
"""Send the play_media command to the media player."""
if media_type == "music":
await self.alexa_api.send_tts(
"Sorry, text to speech can only be called "
" with the media player alexa tts service")
await self.async_send_tts(
"Sorry, text to speech can only be called"
" with the notify.alexa_media service."
" Please see the alexa_media wiki for details.")
elif media_type == "sequence":
await self.alexa_api.send_sequence(media_id,
customer_id=self._customer_id,
Expand Down

0 comments on commit 46b9d88

Please sign in to comment.