Ich habe mir soeben den Müllerinnerung vom “Smarthome Bastler” Video eingerichtet.
Funktioniert soweit alles sehr gut, nur bei der “Gelben Wertstofftonne” steht, da wo eigentlich die Zeit bis zum nächsten Abholtag steht, nochmal “Gelbe Wertstofftonne”. Weiß zufällig jemand woran es liegen könnte?
type: custom:vertical-stack-in-card
cards:
- type: custom:button-card
entity: sensor.mullabholung_morgen
show_icon: false
show_name: false
show_state: true
style:
top: 10%
left: 50%
width: 100%
styles:
state:
- font-size: 1.5em
- font-family: Comic Sans MS
- color: white
- white-space: unset
- text-overflow: unset
- word-break: break-word
- visibility: |
[[[ return entity.state === 'none' ? 'hidden' : 'visible'; ]]]
card:
- background: transparent
- border: none
- padding-bottom: 0
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: custom:button-card
entity: sensor.schwarze_restmulltonne
show_entity_picture: true
entity_picture: /local/muell/schwarz-rot.png
size: 30%
show_state: false
show_name: false
styles:
card:
- border: none
- background: transparent
- padding: 1em 0 0 0
state:
- value: Morgen
entity_picture: /local/muell/schwarz-rot.png
styles:
entity_picture:
- animation:
- blink 3s linear infinite
- type: custom:button-card
entity: sensor.schwarze_restmulltonne_datum
show_name: false
show_icon: false
show_state: true
styles:
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0
- type: custom:button-card
entity: sensor.schwarze_restmulltonne
show_name: true
show_icon: false
show_state: true
styles:
name:
- font-family: Arial Rounded MT
- color: grey
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0 0 1em 0
- type: vertical-stack
cards:
- type: custom:button-card
entity: sensor.grune_biotonne
show_entity_picture: true
entity_picture: /local/muell/gruen.png
size: 30%
show_state: false
show_name: false
styles:
card:
- border: none
- background: transparent
- padding: 1em 0 0 0
state:
- value: Morgen
entity_picture: /local/muell/gruen.png
styles:
entity_picture:
- animation:
- blink 3s linear infinite
- type: custom:button-card
entity: sensor.grune_biotonne_datum
show_name: false
show_icon: false
show_state: true
styles:
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0
- type: custom:button-card
entity: sensor.grune_biotonne
show_name: true
show_icon: false
show_state: true
styles:
name:
- font-family: Arial Rounded MT
- color: green
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0 0 1em 0
- type: horizontal-stack
cards:
- type: vertical-stack
cards:
- type: custom:button-card
entity: sensor.gelbe_wertstofftonne
show_entity_picture: true
entity_picture: /local/muell/schwarz-gelb.png
size: 30%
show_state: false
show_name: false
styles:
card:
- border: none
- background: transparent
- padding: 1em 0 0 0
state:
- value: Morgen
entity_picture: /local/muell/schwarz-gelb.png
styles:
entity_picture:
- animation:
- blink 3s linear infinite
- type: custom:button-card
entity: sensor.gelbe_wertstofftonne_datum
show_name: false
show_icon: false
show_state: true
styles:
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0
- type: custom:button-card
entity: sensor.gelbe_wertstofftonne
show_name: true
show_icon: false
show_state: true
styles:
name:
- font-family: Arial Rounded MT
- color: yellow
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0 0 1em 0
- type: vertical-stack
cards:
- type: custom:button-card
entity: sensor.blaue_papiertonne
show_entity_picture: true
entity_picture: /local/muell/schwarz-blau.png
size: 30%
show_state: false
show_name: false
styles:
card:
- border: none
- background: transparent
- padding: 1em 0 0 0
state:
- value: Morgen
entity_picture: /local/muell/schwarz-blau.png
styles:
entity_picture:
- animation:
- blink 3s linear infinite
- type: custom:button-card
entity: sensor.blaue_papiertonne_datum
show_name: false
show_icon: false
show_state: true
styles:
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0
- type: custom:button-card
entity: sensor.blaue_papiertonne
show_name: true
show_icon: false
show_state: true
styles:
name:
- font-family: Arial Rounded MT
- color: blue
state:
- font-family: Arial Rounded MT
card:
- background-color: transparent
- border: none
- padding: 0 0 1em 0
card_mod:
style: |
ha-card {
background: transparent;
border: none;
border-radius: 12px
}