Separate switch-on and switch-off delay