I am replacing an alarm system with HA and PiHat GPIO connected to doors, windows, and motion sensors. I am grouping each sensor type within HA Entities Card and have show_header_toggle enabled. When all sensors are in the proper state for activating alarm, I’d like to see show_header_toggle=OFF, else ON. Then I’d like to access/use show_header_toggle within automations. Can this be done? Right now, show_header_toggle does not changed based on sensor states within the card, like card for lights.
Otherwise states of each sensor must be checked within automations, which gets cumbersome, especially with multiple automations doing the same check. Possibly there is a better way I have yet to discover?