Hello!
I am still relatively new to HA, but I do have some moderate programming background/experience, so please feel free to use slightly more technical concepts.
I've been messing around with automations, and while I understand the conceptuality of what I want to do, I'm struggling to understand the syntax and context of how HA wants me to accomplish this.
For the sake of simplicity, I have two doors and a single RGB "status light" I am attempting to sync together based on the states of the doors. If both of the doors are open, I want the light to be red, if only one is open, set a color for those doors individually, and if both are closed, turn the light off. Currently, I have this working using building blocks and individual state checking based on each door but this feels messy, is several separate automations, and often desyncs with itself. It is my understand that I should be able to set up some kind of custom sensor with states (using Helpers?), such as 1-4, to combine the various states of other entities. I haven't been able to get it to actually work, and the UI for setting things up is a bit confusing when you don't already know the exact term/method you're looking for.
As an aside, my status light is the LED bar on one of my Inovelli switches, and I'd also like some kind of monitoring if it gets turned off for any reason to be able to check the status of the doors without one of their states requiring a change, if possible. A quirk of the switch seems to be any of the multi-tap inputs will just turn off the LED bar, which is kind of annoying.