Removing old duplicated entities.

Hello ! I installed the old HassAgent, having only played with sensor and commands, but then migrated to V2. Used the compat script in #entity-names , but I still have duplicated entities in my MQTT integration. I Decided to go back from scratch, and indeed the new entities has been deleted, but I can't remove the old ones (the underdogunderdog* ones), because "Entities can only be removed when the integration is no longer providing the entities". And in truth, I see the sensor being active, but with unknown status. How can I clean those up ?
No description
No description
Solution:
Resolved by going into MQTT explorer and clearing leftover topics from pre-migration.
Jump to solution
4 Replies
Solution
Griffures [Tony]
Resolved by going into MQTT explorer and clearing leftover topics from pre-migration.
DrR0x
DrR0x5mo ago
And I assume you delete the old hass.agent?
Griffures [Tony]
Yes, Both old agent and intergration were cleaned and Hardware was rebooted a few times. Howevers the topics still exists in the MQTT broker which prevents deletion of the old sensors, getting "Unknown" status as seen above. Clearing those in MQTT explorer fixes that.
DrR0x
DrR0x5mo ago
Yeah they would've had retention enabled
Want results from more Discord servers?
Add your server