If you are worried about widgets already set on the dashboard see this post to reset everything on device initialization Esp8266 reboot after power failure - #4 by kreggly
Note: This was for the old connection method. I’d have to double check, but I don’t think the current MQTT connection method sends the current dashboard values when the device connects. The retain flag is currently set to false on the server.