I have a bunch of scripts behind buttons to launch TV channels. Currently they are just text on buttons but I would like to use logos.
The yaml is as follows:
cards:
- cards:
- entity: script.1560183642357
hold_action:
action: more-info
icon_height: 50px
name: Journaal
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
type: horizontal-stack
- cards:
- entity: script.1560008204659
hold_action:
action: more-inf
icon_height: 100px
name: VTM
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
- entity: script.1560010345656
hold_action:
action: more-info
icon_height: 50px
name: VIER
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
- entity: script.1560010397544
hold_action:
action: more-info
icon_height: 50px
name: VIJF
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
type: horizontal-stack
- cards:
- entity: script.1560010450589
hold_action:
action: more-info
icon_height: 50px
name: één
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
- entity: script.1560010591120
hold_action:
action: more-info
icon_height: 50px
name: Canvas
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
- entity: script.1560010552111
hold_action:
action: more-info
icon_height: 50px
name: Q2
show_icon: false
show_name: true
tap_action:
action: toggle
type: entity-button
type: horizontal-stack
type: vertical-stack
And it looks like
I figured if I add
icon: /local/path/to/img.png
show_icon: true
that that would work, though the image is not showing up.
Any ideas?