Creating Pseudo Entities for Home Automation

Hey everyone, I’ve been diving into home automation lately and I’m trying to create these ‘pseudo’ entities that can help me monitor multiple devices at once. It’s been a bit of a challenge, but I’m really excited about the possibilities. For instance, I want to create an entity that shows whether my house is occupied or not based on two device trackers from my router. When both trackers detect someone, the entity turns green, and when they don’t, it turns red. I also want to track the time the status changes and send a text message based on that change. It’s like having a mini dashboard for my home’s occupancy status!

Similarly, I’m looking to do the same for my irrigation system. If any one of the valves is open, I want an entity to show it’s on, and when all are closed, it shows off. Another idea is to monitor my thermostats—so if either is heating, a ‘HOME’ entity shows heating, and the same for cooling. There are so many ways to summarize statuses and monitor them all in one place!

I’ve been experimenting with logical operations, like AND and OR, to combine these statuses. It’s a bit tricky, but I’m learning as I go. I’d love to hear if anyone else has tackled similar projects or has tips on how to make this even more efficient. The possibilities are endless, and I can’t wait to see how this evolves!