kalkih / mini-media-player

Minimalistic media card for Home Assistant Lovelace UI
MIT License
1.51k stars 206 forks source link

Support for template in entity name #772

Open tortho opened 1 year ago

tortho commented 1 year ago

Feature request to be able to automate music following me around the house and then easily select media to this "group" Using this approach to auto group/ungroup speakers: https://community.home-assistant.io/t/group-sonos-and-ungroup-sonos-based-on-presence-scripts-automations/298015

Would like to define the entity as: entity: media_player.{{ states('input_select.sonos_music_master_speaker') }}

media_player.{{ states('input_select.sonos_music_master_speaker') }} in my case might for instance result in media_player.move_kontor which is one of the sonos speakers

Workaround today is to pickthe speaker which is mostly in the group to have that group pre-selected when I want to start some music