The image keeps loading and no image is being displayed. Today, the image should be showing paper. The sensor itself indicates that it is paper’s turn today. Does anyone have an idea of what I might be doing wrong? Hopefully, someone can help me.
i use this code:
type: horizontal-stack
cards:
- type: conditional
conditions:
- entity: sensor.afvalinfo_afval_voor_vandaag
state_not: geen
card:
type: picture-entity
entity: sensor.afvalinfo_afval_voor_vandaag
name: Vandaag
aspect_ratio: '16:9'
state_image:
Gft: /local/tmp/groenafval.png
Papier: /local/tmp/papierafval.jpg
Restafval: /local/tmp/restafval.png
Pmd: /local/tmp/pmd.png
show_state: null
- type: conditional
conditions:
- entity: sensor.afvalinfo_afval_voor_morgen
state_not: geen
card:
type: picture-entity
entity: sensor.afvalinfo_afval_voor_morgen
name: Morgen
aspect_ratio: '16:9'
state_image:
Gft: /local/tmp/groenafval.png
Papier: /local/tmp/papierafval.jpg
Restafval: /local/tmp/restafval.png
Pmd: /local/tmp/pmd.png
show_state: null
This is what I see in my card configuration