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
101 stars 17 forks source link

Bug: media_player entity not showing up in Music Assistant integration #6

Closed Protoncek closed 1 year ago

Protoncek commented 1 year ago

I'm playing with "Music Assistant" integration and it doesn't find new "Hass.Agent" integration's created media player. It does find old "Hass Agent MediaPlayer" integration's player, though. If i run playback in developer tools new media player works fine. But, as said, Music Assistant can't find it. Since at long run Hass Agent MediaPlayer integration will become ...well, maybe even obsolete and removed i guess, this is a problem...

Any clues?

LAB02-Admin commented 1 year ago

Thanks for letting me know, I'm able to reproduce this but not quite sure why it's not seeing it (yet). I'll wait for tomorrow's release, since that'll be able to support the new 2022.11 release of MA, see if that fixes it. Otherwise I'll open a ticket with the devs.

Protoncek commented 1 year ago

Thanks a lot!

Protoncek commented 1 year ago

Additional info: I found out that above media player is not the only one which doesn't allow to be added - i have three tablets, running Fully kiosk and fully integration in HA, which among others creates media player and it also doesn't allow to be added (picture). So, it's possible that this problem is "Music Assistant" related...?

image
LAB02-Admin commented 1 year ago

Interesting, thanks for the followup

LAB02-Admin commented 1 year ago

No dice, I'll open a ticket with the devs

LAB02-Admin commented 1 year ago

Dev mentioned that set_volume needs to be implemented, and that does indeed fix it.

HASS.Agent needs an update for that as well though, so this'll be implementeed in the next beta release :)

LAB02-Admin commented 1 year ago

The beta is released if you want to test: https://github.com/LAB02-Research/HASS.Agent/releases/tag/2022.14.0-beta1

You'll also need to update the integration to the latest version (2022.11.9)

Afterwards, it should show up in Music Assistant

Protoncek commented 1 year ago

Yep. it does show up. Thanks!

LAB02-Admin commented 1 year ago

Great 😀