My apologies I didn’t realize you were interested as well. Here’s the code for the card I created.
square: false
columns: 1
type: grid
cards:
- type: conditional
conditions:
- entity: input_number.alexa
state: '1.0'
card:
type: custom:mini-media-player
entity: media_player.living_room_2
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: true
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(1) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa
- type: conditional
conditions:
- entity: input_number.alexa
state: '2.0'
card:
type: custom:mini-media-player
entity: media_player.kitchen
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: tru
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(2) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa
- type: conditional
conditions:
- entity: input_number.alexa
state: '3.0'
card:
type: custom:mini-media-player
entity: media_player.bathroom
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: tru
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(3) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa
- type: conditional
conditions:
- entity: input_number.alexa
state: '4.0'
card:
type: custom:mini-media-player
entity: media_player.movie_room
name: Theater Room
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: tru
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(4) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa
- type: conditional
conditions:
- entity: input_number.alexa
state: '5.0'
card:
type: custom:mini-media-player
entity: media_player.basement
name: Office
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: tru
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(5) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa
- type: conditional
conditions:
- entity: input_number.alexa
state: '6.0'
card:
type: custom:mini-media-player
entity: media_player.bedroom_2
style: |
ha-card {
height: 250px;
}
background: /local/echo2.jpg
group: true
source: null
info: null
hide:
icon: true
volume: tru
power: true
controls: true
source: true
shortcuts:
columns: 6
buttons:
- icon: mdi:sofa
type: script
id: script.alexa_livingroom
- icon: mdi:pot-steam
type: script
id: script.alexa_kitchen
- icon: mdi:toilet
type: script
id: script.alexa_bathroom
- icon: mdi:movie-check
type: script
id: script.alexa_movieroom
- icon: mdi:desk
type: script
id: script.alexa_office
- icon: mdi:bed-king
type: script
id: script.alexa_bedroom
card_mod:
style:
mmp-shortcuts $: |
mmp-button:nth-of-type(0) ha-icon {
color: cyan;
}
mmp-button:nth-of-type(6) {
background-color: rgb(50,50,50,.6);
}
style: |
ha-card {
height: 250px;
}
tts:
platform: alexa