Im new to HA, need some help with the code below. Not sure how to combine two entity
I want Spotify shortcut to start the spotify playlist on the same device as HA running on.
I want Rix FM shortcut to start the url through browser mod entity
As of now the buttons are not working.
- type: custom:mini-media-player
card_mod:
style:
.: |
ha-card {
height: 250px;
}
name: " "
group: false
volume_stateless: false
toggle_power: true
cards:
entity: media_player.spotify
tab_action:
action: more-info
hide:
power: true
volume_level: false
source: false
shuffle: true
artwork: cover
volume_step: 1-20
max_volume: 20
min_volume: 1
column_height: 100
template: media
replace_mute: stop
source: full
sound_mode: icon
background: /local/background.png
info: scroll
scale: '1.6'
icon: Spotify
shortcuts:
columns: 2
buttons:
- name: Spotify
type: playlist
id: xxxxxx
- name: RIX FM
type: music
data:
entity_id: media_player.firefox
uri: https://fm01-ice.stream.khz.se/fm01_mp3