If the IP addresses of one of the routers starts with a 192.XXX.XX.X then it is still under the same LAN network as the other router.
Also these Smartlife wifi switches are probably connected to the cloud so they will work anywhere you have internet, so even if they are somehow on their own LAN network you will still have access to them. That is unless you blocked internet access for them in your router's settings.