Combine the statuses to help Alexa answer a question about all 3 of my garage doors

So I used Dr. Z’s youtube tutorial https://www.youtube.com/watch?v=AU1KD_aJSMY&list=PL20_MShuSMTmYTQJ_K6BND_alwnPocqSP&index=12 and I now have 3 sonoff SVs with nice magnetic door sensors for my 3 individual garage doors on my house using ESPhome & home assistant.

It works great through home assistant. I have the statuses of each individual door showing and then below I have toggle buttons for each individual doors. I can control them all individually from Alexa, but I’m curious if I can ask Alexa “are there any garages open”. So I’d like to figure out a way to combine the statuses of all 3 and then perhaps come up with a way to shut any doors that are open.

Thoughts?

Group integration should help you to solve this