I have a VPE installed and connected to an area called ‘Lounge’
I can target the devices media player by using its entity id and it all works fine.
However, if I (for example) create an automation to play something from the VPE’s media player, using the area and not the entity id, the area does not show up in the drop down.
If It matters, I am using music assistant.
UPDATE:- This issue only seems to affect the media player ‘next’ and ‘previous’ commands, ‘play’ shows the area fine.
Turns out I think the issue is that HA has got confused with its entity id’s. In some situations there is a spurious _2 infront of the entity id, (when selecting the entity from an automation drop down) but when looking at the entity id for the media player against the device itself, it does not have _2
As a final note, it turns out the problem was with the music assistant integration which hadn’t correctly populated its copy of the media players its needs. Reloading the integration fixed it.