#Keymaster - Cleanup leftovers ๐Ÿงน

1 messages ยท Page 1 of 1 (latest)

wicked hill
#

I am hoping someone can tell me how to get rid of all of this left-over stuff without having to do them one-at-a-time. There has to be some way to CLEAN these things out after removing the Integration that I could never get working right. There looks to be 300+ of them:

crisp pine
wicked hill
#

It would not be so bad if I could "Select All" and mass delete them.

crisp pine
#

in dev tools under actions

#

i think its called
homeassistant.delete_all_orphaned_entities

#

once spook is installed and then added you should be able to use the action

#

running that action should delete all the orphaned entities

#

if you want to check before deleting there is
homeassistant.list_orphaned_database_entities
too which will return a list of what the above will delete

wicked hill
# crisp pine if you want to check before deleting there is `homeassistant.list_orphaned_datab...

I had already tried that - it acts as if nothing was done -- screen flashes. Entities are still there. I am going insane - it should not be so hard to clean 'crap' out of this software. I appreciate the help - but I thought "Spook" would do it too. Right after I completely deleted the folders and the integration and restarted - there were 40 some-odd 'spook' messages I then they went away. All of these entities are still here. ๐Ÿ˜ญ

crisp pine
#

oh wait they are automations not entities

#

jsut noticed

#

in the automations page you can switch on multiselect

#

thats why spook didnt find them, they are automations ๐Ÿ˜›

wicked hill
#

They are not ALL 'automations' - but when I go to Automations - they are not there either:

crisp pine
#

ok some of them are scripts so check there, its at the top of the automation page

#

looks like theres some helpers too which you are probably gunna have to do manually

#

i am making a note to not install that integration...

#

what a mess it left

wicked hill
#

YOU CAN SAY THAT AGAIN... LOL - - ๐Ÿ’ฉ all over the place and left.

I have looked every where. Looks like it is gonna be a 'one-at-a-time' clean up and then post a nasty message in the git-hub telling folks....it does not work and you cannot remove it.

#

I love what I can do with HA - but there needs to be a better/easier way to CLEAN CRAP OUT. Reminds me of Windows 95 & 98 and 2000 - when running the 'unistaller' 60-70% of the 'crap' remained in the registry or files on the HDD. LOL

crisp pine
#

i guess you could manually rip it out the files

#

not sure i would recomend it nessasarily

#

in /homeassistant/.storage/ there are the files like "input_text" which contain all the input_text helpers so you could go through the types and manually rip them out in batches from the files. but as said, its probably not the best idea

wicked hill
#

WAIT - WAIT - WIAT. I might have done it. Entities in Spook were 1,134, now showing 364.

I did this - and then restarted HA - and browser refresh. They are all GONE -- except this one:

crisp pine
#

oh nice

wicked hill
#

I can MANUALLY delete that one.

crisp pine
#

๐Ÿ™‚

#

1 is not so bad

wicked hill
#

Well - as they say "Learn something new every day."

#

Cannot delete that one - I had to go into HACS and remove it from there.

crisp pine
#

theres a issue open on the keymaster repo as a feature request to stop doing that shit and use the correct interal integration stuff

#

looks like your not the first and probably wont be the last ๐Ÿ™‚

wicked hill
#

Next damn time - I am going to do more research. It was a kewl idea - had I been able to get it working.

#

Thanks Again.

crisp pine
#

no worries. good luck with future stuff without getting spammed

#

๐Ÿ™‚

shut stirrup
#

OMG this terrible addon. Not only did it not work...literally at all...I cannot remove these parts. HUNDREDS of entries. I tried that spook work and it removed nothing.
The amount of time it will take me to manually remove all this stuff is not worth the time investment.

crisp pine
#

๐Ÿ˜ฆ

shut stirrup
#

Is there no other way to remove this extra stuff? Is there some kind of file / yaml this is stored?

crisp pine
shut stirrup
#

i tried your method with spook but no changes. probably user error.