who knows how to add my own picture in the custom button cart
- entity: script.play_radio2
entity_picture: local/radio2.jpg
size: 35px
style:
- color: var(--sidebar-selected-icon-color)
type: 'custom:button-card'
who knows how to add my own picture in the custom button cart
- entity: script.play_radio2
entity_picture: local/radio2.jpg
size: 35px
style:
- color: var(--sidebar-selected-icon-color)
type: 'custom:button-card'
Not sure, but i think you’re missing
show_entity_picture: true
I tried
also does not work
type: 'custom:button-card'
- entity: script.play_rautemusik_rock
entity_picture: /local/radio2.jpg
show_entity_picture: true
Your dash is in the wrong spot or you copied it wrong.
All you need to show a pic is:
- type: custom:button-card
entity: script.play_rautemusik_rock
entity_picture: /local/radio2.jpg
show_entity_picture: true
i copied it wrong.
I tried
this also doesn’t work
without a custom card I will receive pictures.
is it possible to add pictures to a custom button card ?
Where is your picture located?
/config/www
Is your custom card installed correctly?
yes
and it does work with mdi:
I had the same issues… nobody wants to touch including a Disney+ icon officially…
I use the www /local/ folder all the time for custom backgrounds and stuff… and I am able to see the icon when I point my browser directly there…
type: horizontal-stack
cards:
- show_name: false
show_icon: true
type: button
tap_action:
action: call-service
service: androidtv.adb_command
data:
command: >-
am start -a android.intent.action.VIEW -n
com.plexapp.android/com.plexapp.plex.activities.SplashActivity
target:
entity_id: media_player.fire_tv_192_168_2_27
entity: ''
icon: mdi:plex
show_state: false
- show_name: false
show_icon: false
type: button
tap_action:
action: call-service
service: androidtv.adb_command
data:
command: >-
am start -a android.intent.action.VIEW -n
com.disney.disneyplus/com.bamtechmedia.dominguez.main.MainActivity
target:
entity_id: media_player.fire_tv_192_168_2_27
entity: ''
entity_picture: /local/disney-plus-2-512.png
show_entity_picture: true
show_state: false
- show_name: false
show_icon: true
type: button
tap_action:
action: call-service
service: androidtv.adb_command
data:
command: >-
am start -a android.intent.action.VIEW -n
com.netflix.ninja/.MainActivity
target:
entity_id: media_player.fire_tv_192_168_2_27
entity: ''
icon: mdi:netflix
show_state: false
The fun thing about this experience has been that nothing worked out of the box… even the remote commands all had to be overridden