New mode

How do I add new mode? I want to add new mode called Night Mode where it will set the temperature and it will switch off sensors on level 2 but switch on sensors on level 1.