I am having an issue that I cannot seem to fix. I have been searching high and low and nothing seems to work.
I installed an integration through HACS called weatheralerts. It didn’t really work for what I thought it was so I removed it. However, it created some automations and some scripts that I cannot remove. When I click on the script edit button, I get a popup that says “Only scripts inside scripts.yaml are editable.” The automation edit button has a line through it and says something about read-only.
I have rebooted multiple times and I still cannot delete these entries. Any ideas? Surely I am not stuck with them.
Haven’t tried grep yet, but I did use Visual Studio Code Server and global search and it did not return any instance of the script and/or automations. Would grep do a deeper dive?
I think I may have figure it out. I think my browser was caching the files. I opened HA in Incognito mode and all but one disappeared…
Yep, I cleared the cache and all the automations and scripts that should have been deleted are now gone. All except one. I cannot find mention of it in any yaml files so I will keep digging.
Yeah I cannot delete one automation for some reason. It appears it does not a have an id. I tried to add it using developer tools but it created a duplicate. I have used grep to try and locate it with no results. I have even looked in the core.entity_registry in the storage folder and still came up empty.
Anyone have a clue where this dang thing may be referenced at?
What was the grep command you used to search for it? Are you searching subfolders?
Do you have Samba share loaded? If yes, I use a PC program- AstroGrep which makes grep searches super simple.
No, that should be the only places to find where the automation is coming from. In my experience it has to be in a yaml file. The .db file is your entity history and can safely delete it. And some do when it gets really big. I don’t know what core.restore_state is, so I can’t advise on it.
It is in HACS Integrations and it is called Weatheralerts. It contains a yaml file to place into the packages directory. It created some “automations” and “scripts” within the yaml file. I think I will give it another shot again at some point, but I want to wrap my head around the yaml file editing part more sicne you can’t do it in the UI. Last night we had 3 tornado warnings and I would really like to integrate something into my system. I just think this integration was more than I needed and a little overkill. May change my mind later though.
As far as the issue I was having, the automation I could not delete, finally went away on its own. It was weirdness for sure.