LAB02-Research/HASS.Agent-Integration

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

Closed this issue · 2 comments

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):

  • Windows build (ideally screenshot/info of winver.exe output):
    image

  • Windows' UI language: English

  • HASS.Agent version:
    image
    image

Additional context
None

Logs
None

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

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