I have an ESP32 monitoring my sump pumps and water sensors using ESPHome and Home Assistant.
How can I setup a variable in the ESP32 that is sent via MQTT and changes every 5 minutes. My goal is to monitor this value and verify it changes at least every 10 minutes so I know the ESP32 is online and working.