Error during editing automation

Hi
I face this error, has anyone a hint how to fix this ?
HA Frontend 20260325.6

Logger: frontend.js.modern.202603256
Quelle: components/system_log/__init__.py:331
Erstmals aufgetreten: 8. April 2026 um 08:35:39 (26 Vorkommnisse)
Zuletzt protokolliert: 14:01:07

    Uncaught error from Firefox 140.0 on Linux TypeError: cannot use 'in' operator to search for "delay" in "acti" hasTemplate (src/data/script.ts:336:17) of (src/data/script.ts:489:35) Array.isArray (src/data/script.ts:438:18) migrateAutomationTrigger (src/data/automation.ts:456:45) saveAutomationConfig (src/data/automation.ts:413:11) ev.stopPropagation (src/panels/config/automation/ha-automation-editor.ts:759:35) call (node_modules/lit-html/src/lit-html.ts:2114:28) dispatchEvent (src/common/dom/fire_event.ts:75:7) this.hass.localize (src/components/ha-yaml-editor.ts:184:14) call (node_modules/lit-html/src/lit-html.ts:2114:28)

This seems to be a clue.
Most likely something has deleted from your automation or script.
You probably need to open your scripts and automations yaml files and look for something wrong.