Discovering MQTT Devices

I just updated my Home Assistant and after that I am unable to get my MQTT devices to work

Home Assistant 2023.9.2
Supervisor 2023.09.2

Earlier I had my MQTT devices in configuration.yaml but after the update it gave me error to remove them from the configuration.yaml and use GUI to add these devices.

mqtt:
  broker: core-mosquitto
  username: !secret mqtt_username
  password: !secret mqtt_password
  sensor:
    - name: "Gyeser"
      state_topic: "tele/gyeser/SENSOR"
      value_template: '{{ value_json["ENERGY"]["Today"] }}'
      unit_of_measurement: "kWh"  
  light:
    - name: "Upper Living Right"
      state_topic: "stat/ulivingr/POWER"
      command_topic: "cmnd/ulivingr/POWER"
      availability_topic: "tele/ulivingr/LWT"
      optimistic: false
      qos: 1
      payload_on: "ON"
      payload_off: "OFF"
      payload_available: "Online"
      payload_not_available: "Offline"
      retain: true

So I have commented above code in configuration.yaml

Devices are Sonoff devices flashed with Tasmota. After commenting these lines in configuration.yaml the error is gone but the devices aren’t there anymore and I am not sure how to rediscover them via GUI now. I went to “Settings->Devices & Services->Integration” but I don’t see any new devices popup. There is no option to add them via MQTT or Tasmota integration button available there.

Would be grateful if someone could kindly guide on how to discover these devices now. Thank you.

This needs to be removed

The rest needs to stay

1 Like