Hallo
Ich musste mein HA komplett neu aufsetzen was auch super funktionierte. Bei der einrichtung der Karte für meine Waste Collection Schedule ist allerdings etwas merkwürdiges aufgetretten.
Ich habe Bilder der Tonnen im www Ordner hinterlegt und diese in eine picture-elements card eingebunden. Allerdings wird die grüne Tonne grau dargestellt. Klicke ich auf das Bild im www Ordner ist es korrekt, nur in der karte nicht. Hatte so etwas schonmal jemand?
type: picture-elements
image: local/Back_trans.png
elements:
- type: image
entity: sensor.gelbe_tonne
image: local/Kunststoff.png
style:
pointer-events: none
left: 15%
top: 45%
width: 20%
- type: image
entity: sensor.restabfall
image: local/Rest.png
style:
pointer-events: none
left: 84%
top: 45%
width: 20%
- type: image
entity: sensor.biotonne
image: local/Bio.png
style:
pointer-events: none
left: 50%
top: 45%
width: 20%
- type: custom:button-card
entity: sensor.gelbe_tonne
show_name: true
show_icon: false
show_state: true
style:
top: 85%
left: 15%
width: 30%
styles:
name:
- font-size: 1.8vw
- font-family: Arial Rounded MT
- color: var(--primary-color)
state:
- font-size: 1vw
- font-family: Arial Rounded MT
- padding-top: 0.3em
card:
- background-color: transparent
- border: none
- type: custom:button-card
entity: sensor.biomull
show_name: true
show_icon: false
show_state: true
style:
top: 85%
left: 50%
width: 25%
styles:
name:
- font-size: 1.8vw
- font-family: Arial Rounded MT
- color: var(--primary-color)
state:
- font-size: 1vw
- font-family: Arial Rounded MT
- padding-top: 0.3em
card:
- background-color: transparent
- border: none
- type: custom:button-card
entity: sensor.restmull
show_name: true
show_icon: false
show_state: true
style:
top: 85%
left: 84%
width: 25%
styles:
name:
- font-size: 1.8vw
- font-family: Arial Rounded MT
- color: var(--primary-color)
state:
- font-size: 1vw
- font-family: Arial Rounded MT
- padding-top: 0.3em
card:
- background-color: transparent
- border: none