Hi @Fabian1,
I am also using this widget (@DrRSatzteil thanks for this one ).
As @DrRSatzteil already stated, you need the Items holding the dates for the different garbage types. E.g. the dates can be fed by the iCalendar binding.
In my instance I fetch the garbage dates from our local garbace collection company via an ics link and the iCalendar binding:
The Channels of the iCalendar Things are linked to various Items used in the widget:
(list not complete)
These Item names you have to add to the configuration of the widget. Maybe this is a bit different if you are not familiar with widgets using âwidget expressionsâ instead of simply providing an item selector.
In my case this looks then like:
Footer
='NĂ€chste Abholung: ' + ((dayjs(items.MuellkalenderEintragsfilter_Result_0_Begin.state).diff(dayjs().startOf("day"), "days")) == 0 ? "Heute" : (dayjs(items.MuellkalenderEintragsfilter_Result_0_Begin.state).diff(dayjs().startOf("day"), "days")) == 1 ? "Morgen" : "In " + (dayjs(items.MuellkalenderEintragsfilter_Result_0_Begin.state).diff(dayjs().startOf("day"), "days")) + " Tagen")
Date Items
"RestmĂŒll","black","f7:trash","Muellkalender_Restmuell_Ergebnisstart"|"Bioenergietonne","teal","f7:trash","Muellkalender_Bioenergietonne_Ergebnisstart"|"Verpackungstonne","yellow","f7:trash","Muellkalender_Verpackungstonne_Ergebnisstart"|"Altpapier","blue","f7:trash","Muellkalender_Altpapier_Ergebnisstart"
In the end this looks like:
Regards
Jonathan