Firstly, you need to set up a variable to keep track of whether or not someone is at home. See this tutorial for details.
Then, you'll need to use the IFTTT webhook call action to trigger whatever devices you want to turn on / off. This tutorial provides some helpful steps.
You might even want to combine it with the after dark condition so that the devices are only switched on if someone is at home after dark.