Quantcast
Channel: Configuration - Home Assistant Community
Viewing all articles
Browse latest Browse all 101913

Template sensor to find master in multi room audio setup

$
0
0

@jones wrote:

Guess this is one for template god @petro :slight_smile:

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

Read full topic


Viewing all articles
Browse latest Browse all 101913

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>