MQTT Addon: "Data in your config entry is going to override your configuration"

Data in your config entry is going to override your configuration.yaml: {‘broker’: ‘xxx’, ‘discovery’: False, ‘password’: ‘xxx’, ‘port’: xxx, ‘username’: ‘xxx’}

Hi All

Getting error above.
I use the MQTT addon, and assume I get this error because I put following in my HA config:

mqtt:
  broker: core-mosquitto # This will have to be your mqtt broker, Mosquitto addon is recommended.
  discovery: true
  birth_message:
    topic: 'hass/status'
    payload: 'online'
    retain: false
  will_message:
    topic: 'hass/status'
    payload: 'offline'

What do I do to fix?

You might check this out :

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).

4 Likes