Automationeditor strange behavior

Last night I created a simple automation with the Editor. Everything looks good. This morning I waked up and I was wondering why a few devices are triggered.
I looked into HA and I found out, that all of the automations are shown duplicated but with the “enabled” state!
I reloaded the automations and all duplicateds are gone, but now 70 % of my automations are gone too…
Also the automations.yaml was nearly emty.
Fortunately I made a snapshot evey night (not this night because automation was gone) so I can restore the automation.yaml.

Nothing in the LOGS.
What can causes this?

a different thing i noticed using the automation editor is after saving an automation (new or edited) it triggers one of the automations