This is what I was using until I messed up
Also use motion sensors to turn on lights, and presence sensing to make sure lights and heating go off
Hope that helps