Using EERO PRO 6 mesh node in flows

I can see in my EERO app (not homey) when my phone is connected to which mesh node. I suppose I could use this in a flow as well.

I want to set up a flow that allows me to activate my ARMED (STAY) flow the following way:

WHEN: my phone is connected to the mesh node in my bedroom

AND: the time is 10pm

THEN: activate partial alarm in heimdall.

How can I use my phones presence in my mesh node network to activate the desired flow?