Need help with MQTT setup

Ik did some further investigation on MQTT
I got this error, which I haven’t noticed before :pensive:

2020-03-21 08:51:11 WARNING (MainThread) [homeassistant.components.mqtt] Data in your configuration entry is going to override your configuration.yaml: {'broker': 'core-mosquitto', 'discovery': False, 'password': 'aejeiye7aesiefai9YeiCul3gaghaephe5ohto2dohkup', 'port': 1883, 'protocol': '3.1.1', 'username': 'homeassistant'}

So discovery is turned off. See my configuration.yaml below, I don’t see which item this might cause this:

default_config:
# Activate the configuration editor
config:
automation: !include automations.yaml

logger:
  default: warning
  logs:
    homeassistant.components.mqtt: debug

mqtt:
  broker: 192.168.0.185
  port: 1883
  discovery: true
  discovery_prefix: homeassistant
  
volkswagencarnet: 
  password: xxx
  username: xxx
  scan_interval: 
    minutes: 2
  name:
    wvwzzz3czhe043304: 'Passat GTE'
doorbird:
  devices:
    - host: 192.168.0.140
      username: xxx
      password: mxx
      token: xxx
      name: Voordeur
      events:
        - doorbell_1
        - somebody_pressed_the_button
        - relay_unlocked
        - unit_1_bell
        - rfid_card_scanned
camera:
  - platform: doorbird
switch:
  - platform: doorbird
  - platform: mqtt
    name: "Salon"
    state_topic: "homeassistant/switch/salon/state"
    command_topic: "homeassistant/switch/salon/set"
    icon: mdi:power-plug
    payload_on: "on"
    payload_off: "off"
    state_on: "on"
    state_off: "off"
    optimistic: false
    qos: 0
    retain: true
  
alarm_control_panel:
  - platform: nx584
    host: 192.168.0.65
    port: 5007
binary_sensor:
  - platform: nx584
    host: 192.168.0.65
    port: 5007
    exclude_zones:
      - 3
      - 4
      - 5
      - 6
      - 7
      - 10
      - 28
      - 29
      - 30
      - 31
      - 32
    zone_types:
      1: motion
      2: opening
      8: smoke
      9: opening
      11: motion
      12: motion
      13: opening
      14: motion
      15: motion
      16: motion
      17: opening
      18: opening
      19: opening
      20: motion
      21: opening
      22: smoke
      23: smoke
      24: smoke
      25: opening
      26: opening
      27: motion
#discovery:
#  ignore:
#    - sonos
#    - samsung_printer
#  enable:
#    - homekit
#    - apple_tv
#    - denonavr
#    - harmony
    
webostv:
  host: 192.168.0.209
  name: Woonkamer TV
  turn_on_action:
    service: persistent_notification.create
    data:
      message: "Turn on action"
  customize:
    sources:
      - livetv
      - youtube
      - makotv
      - netflix

media_player:

notify:

#zwave:
#  usb_path: /dev/ttyACM1
#  network_key: "0x04, 0x03, 0x01, 0x07, 0x09, 0x06, 0x05, 0x02, 0x09, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10"
  
sensor:
  - platform: dsmr
    port: /dev/ttyUSB0
  - platform: acv
    postcode: 3904MB
    housenumber: 44
    resources:
      - today
      - tomorrow
      - grey
      - green
      - paper
      - packages
      - textile
      

As someone already told you, you don’t need the mqtt section in config at all.

No,

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

Thank you, you made my day!!

I have the same problem, two days trying with the same mistake as yours, I’m giving up, going back to nodered