add processCommand on off dim toggle