Module pyCtrl - check interval value before setting