Skip to content

Instantly share code, notes, and snippets.

@schneekluth
Created December 21, 2020 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save schneekluth/3583960e0f91c9b0d317c0dd55f6a042 to your computer and use it in GitHub Desktop.
Save schneekluth/3583960e0f91c9b0d317c0dd55f6a042 to your computer and use it in GitHub Desktop.
Beispiel zur Nutzung der Bose Soundtouch Integration in Homeassistant
type: 'custom:vertical-stack-in-card'
cards:
- type: picture-entity
entity: media_player.soundtouch_room2
image: /local/entitypictures/bose_soundtouch_black.png
tap_action:
action: toggle
- type: 'custom:mini-media-player'
entity: media_player.soundtouch_room2
artwork: full-cover-fit
group: true
hide:
shuffle: true
source: false
volume: false
icon: 'mdi:speaker-wireless'
name: Bose Room2
power_color: true
shortcuts:
align_text: left
column_height: 30
buttons:
- icon: 'mdi:numeric-1-box'
id: 1
name: Deepmix Moscow
type: playlist
- icon: 'mdi:numeric-2-box'
id: 2
name: 24h of Lo-Fi Beats
type: playlist
- icon: 'mdi:numeric-3-box'
id: 3
name: Anrüchige Frauen
type: playlist
- icon: 'mdi:numeric-4-box'
id: 4
name: Tagesschau 100s
type: playlist
- icon: 'mdi:numeric-5-box'
id: 5
name: Mix der Woche
type: playlist
- icon: 'mdi:numeric-6-box'
id: 6
name: Autobahn bei Nacht
type: playlist
- icon: 'mdi:bluetooth'
id: script.bose_bluetooth_room2
name: Bluetooth
type: script
speaker_group:
entities:
- entity_id: media_player.soundtouch_kuche
name: Küche
- entity_id: media_player.soundtouch_schlafzimmer
name: Schlafzimmer
- entity_id: media_player.soundtouch_wohnzimmer
name: Wohnzimmer
- entity_id: media_player.soundtouch_flur
name: Flur
platform: soundtouch
toggle_power: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment