Todo-list card: more options

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