Zigbe static routing?

Is there any way to configure some sort of static routing within the zigbee network?
I have some home security sensors that I want to be routed directly to the coordinator which is connected to an UPS (in case of power cut). Unfortunately they keep connecting to a smart plug which is acting as router and it’s not UPS protected in case of power cut.

Any ideas?

Thanks,
Gab

AFAIK the device itself decides where it connects to (so you cannot influence this), but in case of a power cut it should automatically connect to the coordinator.

Thanks for the reply.
I thought the same. It all boils down about how quick the sensor will join the coordinator. In case of home intrusion, if the attackers cut the power and try to enter opening a window, I’d like the window sensor to join the coordinator as fast as possible. I’ll make some tests about this scenario.