Hey all! I’ve been chewing on this problem for a bit and I’ve hit a wall, I’m hoping someone here can point me in the right direction.

I have an auto entities card populating a series of mushroom chips on the top of my dashboard for stuff like lights on, available updates, and open doors.

The thing is, some of the doors that have sensors on them are open by default, and as a result the chips are there all the time.

Ideally I’d like to have seperate auto entities entries for each group, default open and default closed, but I’d like to keep them in the same card as everything else(they’re sorted by time triggered); and I can’t for the life of me figure out how to filter out specific entities from a single entry in the include filter. I can exclude something from the whole card, but I haven’t found anything that would allow me to just show certain closed doors or certain open ones.

Hopefully this made sense! I appreciate any ideas you have.

EDIT: So I finally got it figured out without futzing with my setup too much, sorry @borebore, I didn’t end up going with the template sensor. I ended up finding a python script that allows you to inject custom attributes, so I made an automation that anytime the “normally closed” doors updated their status it’d give them an “is_normally_open: true” attribute and filtered the auto entities chips off of that attribute.

Thanks everyone!

  • __init__
    link
    fedilink
    English
    arrow-up
    1
    ·
    9 个月前

    TIL about the auto entities card. I’ll have to try that out. Since I don’t actually know anything about that card, I don’t have anything useful to offer specific to that plugin. But coming from a different angle, I wonder if using a template sensor to invert the “default” state and hiding the original entity (+ some clever naming) would help to make it behave how you want?