Once you have your presence sensors setup why not try ‘Presence Central’ for mode switching etc.
Andy