State -> Rename one_shot to retrigger_delay for clarity.