After a search, I see that it has been asked a few times but cannot find a way to delete automations?
I have deleted all the automations from the automations.yaml file but they still appear in the GUI.
How can I delete them before recreating them again?
Go into developer-tools/states click on the âcircled iâ on the left of the automation you want to delete. There will be an option to delete in the dialog box that is brought up.
I got a remark that seems to be a better way to achieve this:
To delete them completely, go to UI/Developer Tools and find the automation you want to delete under âCurrent entitiesâ.
From there, select the circled i and in the new window at the bottom select âREMOVE ENTITYâ.
Go to settings - automation. Click on the pencil symbol (edit automation) In the automation edit - upper right corner of the 3 dots and select remove automation.
I am in the same situation. If I click on the line I get:
When I open the 3-dot-box to the right I get the âThis entity (âautomation.panel_store_bad_turn_offâ) does not have a unique ID, therefore its settings cannot be managed from the UI.â under âsettingsâ. (The other 3 tabs look normal)
When i select the entity on âsettings->devices & service â entitiesâ the square box is grayed and indicated as not-editable in the status column.
I havenât found the automation in automations.yaml. Have performed 2 restarts since it all began
Thanks, but imho most of the cases in your list did not match well.
I continued to google and somebody wrote something about cached data. Even I already had restarted HA two times - what apparently made it happen in the end was restarting the front end: closing the browser and restarting it and opening HA: the orphan was gone.
Looking back while remembering the process rather wellâŚ
What happened was that I was in the process of combining two automations into one. So I opened one of them, copied (or even cut) the yaml-code to the clipboard and then - while still inside the editor - deleted the automation I just edited. Then I closed the editor.
For me it does not look good deleting an automation while editing it.
May be the delete-function should not be available inside the editor window.