Replace event types "custom" and "run_once" by "on_trigger"

The former "run_once" events have an additional "repeat=false" event
component.