johnpdowling / custom_components

custom components (new and overrides) for 0.91+ home assistant
Apache License 2.0
19 stars 6 forks source link

Media players not working. #6

Open cby016 opened 4 years ago

cby016 commented 4 years ago

I installed this component and it pulled in the end points from my forked-daapd box as media players. However whenever I try to interact with them through the Developer Tools -> Services utility, nothing happens. Any tips or pointers to getting this to work would be helpful. Thanks.

sretalla commented 4 years ago

The thing to do is use the tts.google_translate_say service with the following parameters: { "entity_id": "media_player.forked_daapd", "message":"Announcement","language":"en" }

As I think we documented somewhere, it seems to hold the first phrase, so sending a short phrase like Announcement first, then a second one with the real message works well.