Sort by date

I am using the RecycleApp to check out when what collection happens. It works great but in the frontend, the order is fixed by type. It would be very handy if I could sort by date. Anyone knows how to do this

Screenshot 2024-05-19 094841

The auto entities card is able to sort entities, and do much more fun stuff:

Yep. That’s doing the job. Thx
Note: it is a pitty you can not add a title to the card.

I do not know what card you put inside (entities?) but that is where the title should be set. The auto-entities card just provides the entitity ids.

Euh … ??? I lost you. I just added a new card, selected from the list of cards → Custom cards → Custom: Auto Entities. Addded the entities and set the filter.


Screenshot 2024-05-19 131741

I think what was meant was. . .

  • You can copy or cut the current card you just made (saved to the clipboard)
  • Create another card (like a Grid card or Vertical Stack card, which offers a title)
  • Paste your card (from clipboard) into the Grid or Vertical Stack card

Why you can not add a title to the card?

type: custom:auto-entities
  type: entities
  title: Afval   <-----------------
    style: |
      ha-card {
        background-color: rgba(0, 0, 0, 0);
    - name: Restafval
        image: /local/tmp/restafval.png
    - name: Groenafval
        image: /local/tmp/groenafval.png
    - name: Plastic
        image: /local/tmp/plasticafval.png
    - name: Papier
        image: /local/tmp/papierafval.png
  attribute: year_month_day_date
  method: attribute


1 Like

Ha! Imissed that one. Thx a lot!

Another tip:

Change the sort method to

  attribute: year_month_day_date
  method: attribute

Otherwise, if I remember correctly, when one of the garbage dates in your list is for example 02-06-2024 it will be on the top of your list.