@jones wrote:
Guess this is one for template god @petro
With latest release 0.107 hass finally supports multi room states for Bose Soundtouch speakers. When a multi room zone exists all speaker have an attribute
is_master: true/false
.I want to create a template sensor that outputs the current master’s name. My 4 Soundtouch devices have the following names:
- media_player.soundtouch_kuche
- media_player.soundtouch_schlafzimmer
- media_player.soundtouch_room2
- media_player.soundtouch_wohnzimmer
Is it possible to use these media_players as a list and iterate the over it to find the one with the attribute
is_master: true
?
Posts: 3
Participants: 3