bruxy70 / Garbage-Collection

🗑 Custom Home Assistant sensor for scheduling garbage collection (or other regularly re-occurring events - weekly on given days, semi-weekly or monthly)
MIT License
383 stars 90 forks source link

How to remove your HACS Correctly #464

Closed thorrrr closed 1 year ago

thorrrr commented 1 year ago

Before you submit a new bug report, please check that

Write your question here

HI Please could you help by doing a post or a video or even reply here on how to get your HACS integration out f HA correctly. I have tried and keep getting errors saying code needs stripping out of your config.yml file but i have none. I just need the correct process on how to remove please. YOu have extensive docs to show how to install but zero on how to remove! It is a shame you removing it i thought it was very good. I watched your video it is a lot more complicated to get it working to the same level of your integration. But i guess it stops you having to maintain it so i get it

AngloYorkshire commented 1 year ago

MIne removed ok but the calendar is still showing under Calendars. How do I remove the calendar?

ilsalgo commented 1 year ago

MIne removed ok but the calendar is still showing under Calendars. How do I remove the calendar?

same for me :(

pico1881 commented 1 year ago

I solved it by creating a local calendar with the same name "Garbage collection" and then I deleted it

ilsalgo commented 1 year ago

I solved it by creating a local calendar with the same name "Garbage collection" and then I deleted it

Top!! thank you :)

papinist commented 1 year ago

I solved it by creating a local calendar with the same name "Garbage collection" and then I deleted it

Tried that and ended up with two calendars called "Garbage collection" :-O In my case deleting it won't remove the old one.

Deanosim commented 1 year ago

Well I've managed to remove the Calender by creating one with the same name. But i've got other errors. image

papinist commented 1 year ago

When I create a new calendar named "Garbage collection" it is created with identifier "garbage_collection_2" because "garbage_collection" already exists.

lasry1 commented 1 year ago

in my case I had 2 helpers that gave me errors if I removed the integration without removing them. To delete the calendar I have done was someone said above, create a local one with the same name and then delete it.

marvin8 commented 1 year ago

I'm getting the same error as https://github.com/bruxy70/Garbage-Collection/issues/464#issuecomment-1537337369

I haven't worked out yet where the reference to the no longer existing setup.py is coming from.

lasry1 commented 1 year ago

add again the repo, install an old version, reboot and then uninstall it. that helped me

marvin8 commented 1 year ago

Thanks @lasry1 That worked for me.

For anyone else trying it, make sure to delete any related helpers first, before uninstalling GC again.

papinist commented 1 year ago

I finally managed to remove it.. thanks to your suggestions! This is the steps I've taken:

And finally it's gone :)

Deanosim commented 1 year ago

Yep that was it for me, just had to properly remove all the related stuff fully and then restart Home Assistant and the setup.py error went away. and I can't find any remaining traces of GC left, thanks for the suggestions everyone. :)

elderec commented 1 year ago

I was able to remove by:

Calendar is gone and no more errors in HA startup log.

cobradodo commented 1 year ago

Well I've managed to remove the Calender by creating one with the same name. But i've got other errors. image Hi, i have the same problem. it is not possible to reinstall an old version

maxwood commented 1 year ago

Well I've managed to remove the Calender by creating one with the same name. But i've got other errors. image Hi, i have the same problem. it is not possible to reinstall an old version

Same issue here

Edit: Fixed it, just went through integrations, devices, entities and deleted anything that referenced Garbage Collection. Restarted HA - done :)

cobradodo commented 1 year ago

Well I've managed to remove the Calender by creating one with the same name. But i've got other errors. image Hi, i have the same problem. it is not possible to reinstall an old version

Same issue here

Edit: Fixed it, just went through integrations, devices, entities and deleted anything that referenced Garbage Collection. Restarted HA - done :)

I had to delete the entities by editing the core.config_entries file

github-actions[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had any activity in last 30 days. It will be closed in 5 days if no further activity occurs. Thank you for your contributions.