Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Thing that is disabled and then deleted, stays indefinite on status 'removing' #2517

Closed
arjan-io opened this issue Sep 21, 2021 · 2 comments · Fixed by #2828
Closed

Thing that is disabled and then deleted, stays indefinite on status 'removing' #2517

arjan-io opened this issue Sep 21, 2021 · 2 comments · Fixed by #2828

Comments

@arjan-io
Copy link

When a Thing is disabled with the pause button, then removed via either the button in the thing-config or via select->remove selected, the Thing is not removed at all but will show status REMOVING indefinitely. When the pause button is clicked again, the Thing goes to UNINITALIZED and when clicked once more to ONLINE. At no point is the removal process completed.

@kaikreuzer kaikreuzer transferred this issue from openhab/openhab-distro Oct 10, 2021
@J-N-K
Copy link
Member

J-N-K commented Feb 13, 2022

I think this is essentially the same as eclipse-archived/smarthome#942.

If it's disabled the handler is not initialized and the thing can't be removed. You need to click "Remove" a second time and force-remove it.

What should be fixed is that enabling a thing in REMOVING state causes the device to initialize.

@mhilbush
Copy link
Contributor

What should be fixed is that enabling a thing in REMOVING state causes the device to initialize.

This reminded me of an issue I opened a while ago. There's this behavior of a disabled thing when shutting down the system.

#1893

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants