IFTTT question - multiple devices

If I use an IFTTT command that use my device location to turn cameras off/on, does the command depend on my phone location or my tablet location?

Both devices are Android.

Can I set up IFTTT on tablet and then have them run dependant on phone location?