this post was submitted on 08 Mar 2024
1 points (100.0% liked)

homeassistant

12080 readers
23 users here now

Home Assistant is open source home automation that puts local control and privacy first. Powered by a worldwide community of tinkerers and DIY enthusiasts. Perfect to run on a Raspberry Pi or a local server. Available for free at home-assistant.io

founded 1 year ago
MODERATORS
 

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!

you are viewing a single comment's thread
view the rest of the comments
[–] borebore@lemmy.world 1 points 8 months ago

Glad I could help.