OpenZWave / qt-openzwave

QT5 Wrapper for OpenZWave
GNU Lesser General Public License v3.0
105 stars 30 forks source link

Deleting a Node does not remove the associated MQTT topic #169

Open blhoward2 opened 4 years ago

blhoward2 commented 4 years ago

After deleting a Node in ozwadmin, MQTT Explorer shows that the topic still existed within MQTT. The device didn't disappear automatically from HA, which I suspect is linked to this behavior.

ajschmidt8 commented 3 years ago

Dropping a StackOverflow link here for reference: https://stackoverflow.com/questions/42218056/how-to-remove-a-published-topic

I'm not sure if removing a topic is a thing.

blhoward2 commented 3 years ago

If true, then there must be a way to invalidate the payload so that HA knows the entity is deleted. Or maybe it’s just removing the retained flag.

psgcooldog commented 3 years ago

Use MQTT Explorer to manually delete the dead node.

On Sun, Dec 13, 2020, 10:06 AM blhoward2 notifications@github.com wrote:

If true, then there must be a way to invalidate the payload so that HA knows the entity is deleted.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/OpenZWave/qt-openzwave/issues/169#issuecomment-744020732, or unsubscribe https://github.com/notifications/unsubscribe-auth/AIL33X6DJMIPSBWWVGPDA3DSUTKBDANCNFSM4R3CTYRA .

blhoward2 commented 3 years ago

Yes, I fixed my setup months ago when I posted this. That doesn’t change the fact that it’s a bug and that this should happen automatically.