The bit of info missing here is that ZigBee is a meshing network, as said most (but not all) mains powered ZigBee devices are routers. That means any end devices will connect to a router if it's closer and the router will relay the message back, that could be directe or via another router.
To fix your issue, some well placed ZigBee plugs could be all you need.
I have door sensors on all the external doors, if a door is opened then turn the heating off. This helps over the winter when we have a firepit going and the kids are in and out every 5 minutes
Crap, now we need to check out every job on your CV, thanks gpt.
As if not hard enough to find someone who can work a terminal and ansible and has used aws