I’ve integrated my OctoPrint server into Home Assistant using the OctoPrint integration, and it works well; a device has been added for my server as an entry under the integration, and its sensors are updating.
However, a few minutes after adding this device through the integration, I get a new discovery notification in Home Assistant telling me that Home Assistant has discovered an OctoPrint device on my network. The device it has discovered has the exact same IP address as the device I just added.
If I “Configure” the “newly discovered” device, it goes through the authentication process again and displays a success message as though the device were just added for the first time… but all the sensors retain their history and the device’s logbook reflects the entire history of the device from before when it was most recently discovered.
If I choose to “Ignore” the “newly discovered” device from the integrations page, however, the existing OctoPrint device is removed. I can’t find the OctoPrint integration in my Integrations list, and the device is no longer listed in my Devices list, even if I set the filters to display disabled devices. I can then add the integration again manually, and it will again display the full history of the device, including from before the integration disappeared.
In a nutshell, my Home Assistant continues to “discover” an OctoPrint server even though it has already registered it, and if I choose to ignore the discovered device from my Integrations page, the existing integration disappears.
I would expect that (1) after adding an OctoPrint server, Home Assistant would no longer discover the same device, and (2) choosing to ignore a discovered device would not cause an existing entry using that same integration to disappear.
Can anyone help me troubleshoot this, so I don’t get these pointless (and apparently dangerous) discovery notifications? Thanks.