Rule to change heating based on presence

U might want to have a look at this: