Todo-list card: more options

It would be great if the todo-list card could be enhanced with more options, which can

  1. influences functional the results shown
  2. offer visual changes

The following options came to my mind:

  • overdue items (on/off)
  • timeframe for due date in future (days)
  • items without due date (on/off)
  • show_due_date (on/off)
  • color_tasks_by_status
  • max_items

Especially the missing option of limiting the items by due date is currently for me the biggest painpoint as recurring tasks are blowing up the list.

It would be great to get some of the proposals realized. :slight_smile:

Best regards, Bastian

Whilst awaiting this (likely for a long time / forever), you could create your own version of the shopping list with the use of cards and auto-entities, this allows you to do pretty much whatever you want.
example:

type: custom:auto-entities
card_param: cards
card:
  square: false
  type: grid
  columns: 1
filter:
  template: >-
    {%- set tasks = state_attr('sensor.shoppinglist_items','items') |
    rejectattr('status', 'search', 'completed') | list | reverse -%}
     {%- for item in tasks -%}
         {{
           {
             'type': "custom:mushroom-template-card",
             'entity': "sensor.shoppinglist_items",
             'primary': item.summary,
             'icon': "mdi:shopping",
             'icon_color': "red",
             'tap_action': {
                 "action": "call-service",
                'service': "todo.update_item",
                'target': {
                  'entity_id': "todo.shopping_list",
                  },
                'data': {
                  'status': "completed",
                  'item': item.summary
                  },
               },
             'double_tap_action': {
                 "action": "call-service",
                'service': "todo.remove_item",
                'target': {
                  'entity_id': "todo.shopping_list",
                  },
                'data': {
                  'item': item.summary
                  },
                  },
           }
         }},
     {%- endfor -%}
1 Like

I did see there is a PR to filter items by due date that’s in active development at the moment, so perhaps that will come soon.

Hello Bastian007,

For the future, as there appears to be something open for this already, Frontend requests go here:
This appears to be a Frontend Related Feature Request as it is asking for changes to Frontend Menus, Dashboards, Cards, Sections, or other Frontend Feature.

These Feature Requests are handled in a different system, and will not be seen by the right people if posted in the HA forums.

Please add your Feature Request into GitHub here:
home-assistant/frontend Other Feature Requests · Discussions · GitHub.

See more info about Feature Requests HERE

1 Like