Lovelace: Bringing back entity-filter (monster-card)

Too Easy! Thanks!

Monster Card now includes ordering based on filters instead of just doing alphabetical for everything.

A changelog and some new functionality added: https://github.com/ciotlosm/custom-lovelace/blob/master/monster-card/changelog.md

1 Like

Sorry Iā€™ve got this error in iOS:
n.setConfig is not a function (ln ā€˜m.setConfig(t)ā€™, 'n.setConfig is undefined)

@Mauro_Del_Romano Check https://github.com/ciotlosm/custom-lovelace#faq

Hello,

Iā€™d like a card that can list all the attributes of a given entity (in my case, a sensor).

I cannot define them, as the number of attributes and names of attributes changes with time (the sensor lists upcoming events in the attributes with the event title as the attirubte name and event details as the attribute value). I just want a card that lists all the (undefinable) attributes. Is that possible with a monster card? I canā€™t see how at present? It seems you have to define the attributes which I cannot do.

Can you post a sensor sample output from dev-state panel? Best would be to open a feature request here: https://github.com/ciotlosm/custom-lovelace/issues with that information.

Thanks, Iā€™ll do something there now.

Hi everybody,

for 1 day Iā€™m playing with Lovelace !

With the ancient UI, I had automations to hide some elements if we are or not at home. But I donā€™t succeed with Lovelace and monster-cardā€¦

I tried this:

  - type: entity-filter
    show_empty: true
    entities:
      - input_boolean.present
    state_filter:
      - off
    card:
      type: custom:monster-card
      card:
        type: picture-glance
      filter:
        include:
          - camera.camera_sushie
          - light.iris_salon
          - light.salon
          - light.cuisine

I tried with ā€œwhenā€ tooā€¦

Do you have a solution to succeed it ?

thank you !

Hi @Will711990

You donā€™t need monster-card for that. Check https://home-assistant-lovelace-gallery.netlify.com/#demo-hui-entity-filter-card

Maybe something like below.

- type: entity-filter
  show_empty: true
  entities:
    - input_boolean.present
  state_filter:
    - off
  card:
    type: picture-glance
    entities:
      - camera.camera_sushie
      - light.iris_salon
      - light.salon
      - light.cuisine

Monster card is great only if you really want to do complicated entity filtering.

With monster this would look like:

- type: custom:monster-card
  card:
    type: picture-glance
  show_empty: true
  filter:
    include:
      - entity_id: camera.camera_sushie
      - entity_id: light.iris_salon
      - entity_id: light.salon
      - entity_id: light.cuisine
  when:
    entity: input_boolean.present
    state: off

Thak you for your answer, unfortunetely I canā€™t succeedā€¦

with first solution, it display only the ā€œinput_booleanā€ and no the camera.
I would have only camera displaying if present is ā€˜offā€™ā€¦

Do you have I idea ?

Which version of Home Assistant are you running?

Itā€™s 0.74 version !

I took a picture:

Your config is wrong. You have an extra - in front if type of the subcard

Hello. I have installed the latest custom updater component into the folder (and entered custom_updater: in my configuration.yaml), but on reboot I no longer pick up the sensors required to work with the tracker card. (They canā€™t be seen in the states developer tool).

Any ideas?

Best to use docs here: https://github.com/custom-components/custom_updater and this card: https://github.com/custom-cards/tracker-card

Thanks. Thatā€™s what I followed but somewhere with the change to custom_updater Iā€™ve lost the sensors I used to be able to see.

Iā€™ll look more closely when Iā€™m back from holiday.

Iā€™m running 0.75.2, and Iā€™ve cleared my browserā€™s cache. Also tried in iOS and Mac Safari/Chrome. Getting the same error.

n.setConfig is not a function (ln ā€˜m.setConfig(t)ā€™, 'n.setConfig is undefined)

Have a look at: https://github.com/ciotlosm/custom-lovelace/blob/master/README.md#i-get-a-error-with-nsetconfig-is-undefied-how-do-i-fix-this

I am trying to basically create an entity-filter type card to only show lights that are on, but being able to leverage the domain level ā€œincludeā€.

I can get the domain level listing, but am running into a road-block on the ā€œWHENā€ filtering.

Any ideas??

- type: custom:monster-card
    card:
      title: Lights "ON"
      type: entities
    filter:
      include:
        - domain: light
    when:
      entity: input_boolean.present
      state: on