LAB02-Research / HASS.Agent-Integration

HASS.Agent's Home Assistant integration. Adds notifications and mediaplayer capabilities to HASS.Agent - a Windows based client (companion app) for Home Assistant.
MIT License
113 stars 21 forks source link

Bug: Home Assistant tts error: Invalid media type 'provider'. Only music is supported! #5

Closed vaibhav2912 closed 1 year ago

vaibhav2912 commented 1 year ago

Problem with tts service in the media player in the latest version. When I try to use tts, I get the following error.

Logger: custom_components.hass_agent.media_player
Source: custom_components/hass_agent/media_player.py:287
Integration: HASS.Agent ([documentation](https://github.com/LAB02-Research/HASS.Agent-Integration), [issues](https://github.com/LAB02-Research/HASS.Agent-Integration/issues))
First occurred: 8:07:10 PM (1 occurrences)
Last logged: 8:07:10 PM

Invalid media type 'provider'. Only music is supported!

To Reproduce Steps to reproduce the behavior:

  1. Go to the Settings -> Devices and services
  2. Select the HASS.Agent device.
  3. Click on the Controls.
  4. Select Browse media -> Text to speech -> Google.
  5. Type the text and click on Say.

Expected behavior A text to speech message from HASS.Agent device.

Screenshots None

Misc info (please complete the following information):

Additional context None

Logs None

LAB02-Admin commented 1 year ago

Hadn't seen that type before, thanks for reporting, I'll look into it

LAB02-Admin commented 1 year ago

Published a new release that fixes this, should show up in HACS in a bit.