sync: Change value list param of CreateAlarm and ChangeAlarm into switch