Help adding MQTT pasword on hass.io

i just move to hass.io but i don’t know how to at password and i have most of my switches working with MQTT can anyone
tell me where the password and user name should be thank you again
{
“plain”: true,
“ssl”: false,
“anonymous”: true,
“logins”: [],
“customize”: {
“active”: false,
“folder”: “mosquitto”
},
“certfile”: “fullchain.pem”,
“keyfile”: “privkey.pem”
}

{
  "plain": true,
  "ssl": false,
  "anonymous": false,
  "logins": [
    {
      "username": "xxx",
      "password": "yyy"
    }
  ],
  "customize": {
    "active": false,
    "folder": "mosquitto"
  },
  "certfile": "fullchain.pem",
  "keyfile": "privkey.pem"
}

That’s my configuration.

4 Likes

thank you so much it worked