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:
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.
For anyone who don’t want to handle this, via CalDav and intern calendar. I started a platform to fetch garbage information and provide a simple API: müll.io (German only currently) Feedback is welcome, and I can add more providers, if someone need a special provider.
I try to make a similar widget that should fit next to yours showing the next upcomming events. How did you make the subtitle of an list item gray and slightly smaler? I cant find any way to do so? Maybe someone can give me a hint how to style the subtitle from an list item.
// Edit, found it… you are using “footer” not “subTitle”…
Can someone share the configuration example? I am confused what shall I type there.
I do not know how to configure this widget.
I have all things working properly
Are you sure that you added both the „items.“ and „.state“ parts before and after the item name? Have you checked every occurrence of the item name? I don’t see any other obvious mistake in the syntax except these… if it still does not work it might make sense to paste your current config (the NaN one) here for us to review.
this was a problem. Now works perfectly. reading the post at the begining I was confused with the footer format. This is the one for the expresion:
… (dayjs(items.NEXT_EVENT_ITEM_GOES_HERE.state) …
I am trying to create HabPabel widget with the picture of the coloured trash and text underneath. How can I make an item out of the footer calculation?
showed pictograms:
trash green - bio
trash orange - plastic
trash blue - paper etc…
it shall look like that but if the collection is today or tomorrow the date shall be replaced accordingly “TODAY” or “TOMORROW”:
this is a code and I need to place some items values instead of the text. Perfectly I could pick items up from the widget settings section. Of course i will place coloured pict. depending on the conditions of the next garbage collection.
Cool widget and great community
The last few days I searched a lot in this thread, but unfortunately did not find a solution. I have the widget running, but I can’t get the ads below each item with the next drop-off date and the item on the right with “Tomorrow” or “Today” visible.