smarthomej / addons

SmartHome/J addons for openHAB
Eclipse Public License 2.0
60 stars 25 forks source link

[tuya] thing removal is stuck #327

Closed jimtng closed 2 years ago

jimtng commented 2 years ago

When removing a discovered tuya thing, it is stuck at "REMOVING" status. I had to force remove it.

Using Openhab 3.3.0-SNAPSHOT - Build #2762

J-N-K commented 2 years ago

Can you explain a little bit more what you did? I assume you added a thing in the UI (discovery or manually?) Then you tried to delete the thing. Was the binding installed when that happened?

jimtng commented 2 years ago

I added a Tuya Cloud Project in the UI, then added a discovered device (e.g. a light bulb). It is that discovered device (the lightbulb) that I tried to remove and it got stuck. It was all via UI, no textual config.

J-N-K commented 2 years ago

But the binding was still installed?

jimtng commented 2 years ago

Yes the binding is still installed. The cloud project is still online during the removal.

J-N-K commented 2 years ago

I tried that more than dozen times now and could not reproduce it. Do you have that issue all the time or did it happen once?

jimtng commented 2 years ago

I haven't been able to reproduce it. I'll close this issue and reopen it if needed. Thanks for checking on your end too.

jimtng commented 2 years ago

The thing stuck at removal happens when the thing is disabled.

Steps:

J-N-K commented 2 years ago

Ah. That's a known issue in openHAB core: https://github.com/openhab/openhab-core/issues/2517