SHARE
TWEET

Untitled

a guest May 23rd, 2019 67 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. ### Mini media player ###
  2.  
  3.           - entity: media_player.livingroom
  4.             type: custom:mini-media-player
  5.             info: scroll
  6.             artwork: cover
  7.             hide:
  8.               power: true
  9.               artwork_border: true
  10.               shuffle: false
  11.             shortcuts:
  12.               columns: 2 # Max buttons per row
  13.               buttons:
  14.                # Start predefined playlist
  15.                 - icon: mdi:link-variant
  16.                   name: Sovev√¶relse
  17.                   type: script
  18.                   id: script.group_sonos
  19.                   data:
  20.                     master: media_player.livingroom
  21.                     slave: media_player.bedroom
  22.                 - icon: mdi:link-variant
  23.                   name: WC 1 Sal
  24.                   type: script
  25.                   id: script.group_sonos
  26.                   data:
  27.                     master: media_player.livingroom
  28.                     slave: media_player.wc_1_sal
  29.                 - icon: mdi:link-variant-off
  30.                   name: Fjern fra gruppe
  31.                   type: script
  32.                   id: script.ungroup_sonos
  33.                   data:
  34.                     where: media_player.livingroom
  35.  
  36. ### Scripts ###
  37.  
  38. group_sonos:
  39.   alias: "Group Sonos"
  40.   sequence:
  41.     service: sonos.join
  42.     data_template:
  43.       master: "{{ master }}"
  44.       entity_id: "{{ slave }}"
  45.  
  46. ungroup_sonos:
  47.   sequence:
  48.     service: sonos.unjoin
  49.     data_template:
  50.       entity_id: "{{ where }}"
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top