I figured in the spirit of community, I would share my config. I am sure there are many like it, but this one is mine…
Shortfalls:
- Unable to enable ‘back’ and ‘skip’ controls
- Can not directly start casting from youtube music from Hassio
Please let me know if you have any suggestions that would correct, optimize or add functionality I am very new to .yaml and Hassio.
Stream Service:
- youtube music
Hardware:
- google display
- google mini x 2
- google audio casts x 3. (Awesome devices, that seem to be EOL as they were very under-appreciated)
- Dining / Living Room, each paired with an ‘Anker Soundcore 2’
- Shed, is paired with a Sony AV tuner
While nothing is playing:
After saying, 'hey google, play music whole house audio":
My working code:
(I do not understand why HA screws up all YAML code formatting after a reboot…)
cards:
- artwork: cover
entity: media_player.whole_house_audio
group: true
hide:
power: false
volume: false
info: scroll
source: icon
type: 'custom:mini-media-player'
- card:
entities:
- artwork: none
entity: media_player.kitchen_display
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:monitor-speaker'
type: 'custom:mini-media-player'
- artwork: none
entity: media_player.living_room_speaker
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:mdi:cast-audio'
type: 'custom:mini-media-player'
- artwork: none
entity: media_player.dinning_room_speaker
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:mdi:cast-audio'
type: 'custom:mini-media-player'
- artwork: none
entity: media_player.master_bed_room_mini
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:mdi:cast-audio'
type: 'custom:mini-media-player'
- artwork: none
entity: media_player.family_room_mini
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:mdi:cast-audio'
type: 'custom:mini-media-player'
- artwork: none
entity: media_player.shed_tuner
group: true
hide:
controls: true
info: true
power: true
progress: true
icon: 'mdi:mdi:cast-audio'
type: 'custom:mini-media-player'
show_header_toggle: false
type: entities
conditions:
- entity: media_player.whole_house_audio
state_not: 'off'
- entity: media_player.whole_house_audio
state_not: unavailable
type: conditional
type: 'custom:vertical-stack-in-card'

