Hi all,
I have this list card on my OH3 page:
It contains the dates, when certain kind of garbage cans will be emptied.
this is the YAML:
component: oh-list-card
config:
simpleList: false
title: Mülltermine
accordionList: true
slots:
default:
- component: oh-label-item
config:
item: Biotonne_Ergebnisstart
title: Biotonne
fallbackIconToInitial: true
- component: oh-label-item
config:
item: Abfallkalender_Ergebnisstart
title: Blaue Tonne
fallbackIconToInitial: true
- component: oh-label-item
config:
item: GelbeTonneSacke_Ergebnisstart
title: Gelbe Tonne
fallbackIconToInitial: true
- component: oh-label-item
config:
item: Restmull14tagig_Ergebnisstart
title: Restmüll
fallbackIconToInitial: true
I have a couple of questions:
- is it possible to sort the entires based on the dates?
- is it possible to show an entry only. if the date is today or tomorrow?
- is it possible to highlight an entry, if the date is today?
- can I have some (custom) icons added?
- any idea how to present this more beautiful?
Many thanks!
Matthias