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


#21

Too Easy! Thanks!


#22

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


#23

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


#24

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


#25

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


#26

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.


#27

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.


#28

Thanks, I’ll do something there now.


#29

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 !


#30

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

#31

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 ?


#32

Which version of Home Assistant are you running?


#33

It’s 0.74 version !

I took a picture:


#34

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


#35

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?


#36

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


#37

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.


#38

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)


#39

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


#40

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