Hey,
i created this nice card with ’ mini-media-player ’ is it possible to remove the two buttons and instead just make one button which toggles between group/ungroup?
cards:
- cards:
- entity: media_player.wohnzimmer
type: media-control
tap_action:
action: more-info
- entity: media_player.wohnzimmer
hide:
icon: true
info: true
mute: true
power: true
source: true
volume: true
name: true
controls: true
group: true
mini-media-player-progress-height: 1px
progress: true
speaker_group:
platform: sonos
show_group_count: true
expanded: true
entities:
- entity_id: media_player.wohnzimmer
name: Wohnzimmer
- entity_id: media_player.bad
name: Bad
hide:
volume: false
shortcuts:
buttons:
- type: service
image: /local/pics/Hr1.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: hr 1
- type: service
image: /local/pics/Hr3.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: hr 3
- type: service
image: /local/pics/Hr4.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: hr 4
- type: service
image: /local/pics/harmony.fm.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: harmony.fm
- type: service
image: /local/pics/ndr2.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: NDR 2 Schleswig-Holstein
- type: service
image: /local/pics/FFH.png
id: media_player.select_source
data:
entity_id: media_player.wohnzimmer
source: Hit Radio FFH
columns: 3
show_group_count: true
show_progress: true
type: custom:mini-media-player
volume_stateless: true
- entity: media_player.wohnzimmer
hide:
controls: true
icon: true
info: true
max_volume: 100
min_volume: 0
play_pause: true
power: true
progress: true
source: true
volume: false
type: custom:mini-media-player
type: vertical-stack
mode: vertical
type: custom:stack-in-card