Since HA discovery is only done once when the device turns on, there's a case where HA/MQTT server is restarted without the RP2040Home client also restarting afterwards - this means from HA's perspective, the device is not alive as the message will have been cleared from the MQTT server.
We need to poll every ~X minutes (config defined) and re-send the discovery payloads
Since HA discovery is only done once when the device turns on, there's a case where HA/MQTT server is restarted without the RP2040Home client also restarting afterwards - this means from HA's perspective, the device is not alive as the message will have been cleared from the MQTT server.
We need to poll every ~X minutes (config defined) and re-send the discovery payloads