Integrating Homey Pro with Alexa for Bathroom Occupancy Detection

Hi all,

I recently purchased a Homey Pro and I’m starting to use it in advanced mode. I’m trying to find a solution to this scenario: there’s a bathroom with two doors, and when both are closed, it’s supposed that the room is occupied. I wish to ask Alexa anytime something like “Alexa, how’s the bathroom?” and have Alexa answer “It’s vacant” or “It’s occupied”.

My possible solution is to put two door sensors and check their status with a flow. Then, with another flow, I can check if both doors are closed and put a True value into a variable. I’ve done some experiments with variables and virtual devices, but I couldn’t find out how to make Alexa read Homey’s variables.

Is there someone who can help me find a solution? What is the best practice to achieve this kind of result?

Bye, Francesco