Added auto lights on/off logic for bathroom