add supprot for minimum on/offtimes