is there a way to turn them off or on under certain conditions