Hi
I have a Maria DB that have an home alarm status (ZigBee)

Working fine..
Then I have a trigger flow, that send a Telegram message, if a window is opened:

It's also working fine...
Now I need it to work together... the last Switch must only work, is the status switch is "Armed".
Can someone help/guide me, about based on the status "Armed" then the trigger flow is activated.