diff --git a/src/data/automation.ts b/src/data/automation.ts index f08170c2cc86..15f08ea958ab 100644 --- a/src/data/automation.ts +++ b/src/data/automation.ts @@ -427,6 +427,10 @@ export const migrateAutomationTrigger = ( return trigger.map(migrateAutomationTrigger) as Trigger[]; } + if ("triggers" in trigger && trigger.triggers) { + trigger.triggers = migrateAutomationTrigger(trigger.triggers); + } + if ("platform" in trigger) { if (!("trigger" in trigger)) { // @ts-ignore