kevdliu / hacs-anylist

Home Assistant integration for Anylist
GNU General Public License v3.0
22 stars 2 forks source link

Removed list via app is not removed in HA #10

Closed agmorpheus closed 6 months ago

agmorpheus commented 6 months ago

First of all: thanks for this great integration

I have deleted a list via the Anylist app. But this list is still available in HA. I can not delete it from there. I only can deactivate the List in HA.

kevdliu commented 6 months ago

Can you try restarting home assistant? After restarting the delete button should be available. I'm not sure why but simply reloading the integration does not refresh the list of lists. I'll have to look into that one.

agmorpheus commented 6 months ago

I tried a restart but the delete button is still grayed out.

kevdliu commented 6 months ago

If you go to http://<your anylist addon server ip>:<port>/lists in your browser, do you see the deleted list in the output?

agmorpheus commented 6 months ago

The deleted list is not returned via the endpoint. But I found the problem. I have deactived the list in HA and then deleted it. After activating the list and restarting HA I could delete it in HA.