One card to show if any windows / doors open

When turning on AC or leaving the house I’d like to know quickly if any windows / doors are open.

Ideally its just a yes/no response that I can style up as a card etc.

Anyone know the best practice here? I’ve had a search and can’t seem to find a way to concatenate all window and door sensor statuses to check if all say ‘on’ and display it in lovelace or via the old UI

Just group the sensors. The group will be on if any sensor is on and off if they are all off

Legend, thanks. I feel silly for not considering that. Lights are all in groups

1 Like

This is another way. I’d consider it better because you can glob and any future sensors will automatically appear.

1 Like

oh this I like, especially since we’re always adding sensors :slight_smile: