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

[mqtt.homeassistant] Discovered things never get removed from the inbox #17183

Open
ccutrer opened this issue Jul 30, 2024 · 0 comments
Open
Assignees
Labels
bug An unexpected problem or unintended behavior of an add-on

Comments

@ccutrer
Copy link
Contributor

ccutrer commented Jul 30, 2024

Expected Behavior

Have an MQTT discovered Home Assistant device. Then delete all of the discovery topics from MQTT. The Thing should disappear from the openHAB Inbox (at the least it should not come back after openHAB is restarted).

Current Behavior

Things stay in the inbox forever. You can manually delete them, and they won't come back. This is particularly painful in conjunction with #16600 - I have a copy of every Home Assistant device (hundreds!) in my Inbox with the old thing type ID, since I've gone back and forth several times on running that PR or the released version of the binding.

Possible Solution

At boot, remove all inbox items for Home Assistant; they'll come back shortly when the discovery messages come in.

Your Environment

  • Version used: 4.3.0-SNAPSHOT
  • Operating System and version (desktop or mobile, Windows 10, Raspbian Buster, ...): Ubuntu 22.04 jammy
@ccutrer ccutrer added the bug An unexpected problem or unintended behavior of an add-on label Jul 30, 2024
@ccutrer ccutrer self-assigned this Jul 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug An unexpected problem or unintended behavior of an add-on
Projects
None yet
Development

No branches or pull requests

1 participant