music-assistant / hass-music-assistant

Turn your Home Assistant instance into a jukebox, hassle free streaming of your favorite media to Home Assistant media players.
Apache License 2.0
1.4k stars 51 forks source link

Breaking Change Intoduced with the Removal of Player Attributes via the Integration #3188

Closed SCBionicle closed 1 week ago

SCBionicle commented 1 week ago

What version of Music Assistant has the issue?

2.3.2

What version of the Home Assistant Integration have you got installed?

2024.11.4

Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

The problem

A breaking changed was introduced in integration version 2024.11.0 that removed the following attributes from media_player entities in home assistant that broke automations:

How to reproduce

Add items to a queue of a music assistant player, check the media_player attributes in the developer tools of home assistant.

Music Providers

Tried:

Don't have access to other providers.

Player Providers

Tried:

Full log output

music-assistant.log

Additional information

Would it be possible for these attributes to be re-added? These attributes were used for specialized sleep timers. Music assistant is being run as an addon on a windows Hyper-V VM running Home Assistant OS.

What version of Home Assistant Core are your running

2024.11.1

What type of installation are you running?

Home Assistant OS

On what type of hardware are you running?

Alternative

OzGav commented 1 week ago

These were removed due to HA policies with the imminent move to core. Have you looked at the new get_queue action? It provides all that you have requested and.more

SCBionicle commented 1 week ago

Thank you. I was not aware of the addition.

SCBionicle commented 1 week ago

Also, congraduations on the accomplishment.