Getting a warning about mqtt config after adding the mosquitto in hass.io

Ok, maybe I fixed it… it looks like that this was the solution in my case: MQTT Addon: "Data in your config entry is going to override your configuration" - #3 by Tinkerer

You’ve configured MQTT through both the UI (Configuration → Integrations) and YAML. You need to delete the UI integration and configure it all through YAML (or delete the YAML and configure it all through the UI).