ljmerza / our-groceries-card

our groceries lovelace card

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

filter shown lists

ljmerza opened this issue · comments

add filter option

filter:
 include: regex
 exclude: regex

Is it possible to get a filter or option to only show lists with items, and not show the empty lists in the card?
show_empty: false

Oh man, I was trying to use the "entity" option to drill down to something line sensor.our_groceries.XXXXXX where XXXXX was the sensor "ID" for the list. This would be a VERY helpful feature!

Also need this, please!

I've put in a PR for these kind of changes.

#16

It includes:

show_empty as detailed above
show_lists allows you to specify which lists are shown (using the list IDs)

added in v1.6.0 via

hide_empty_lists: true
show_lists:
  - listid