mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-17 06:16:50 +00:00
Add format for configuration.yaml if using username and password (#4149)
* Add format for configuration.yaml if using username and password * Minor changes
This commit is contained in:
parent
33640d18af
commit
0159cb6f10
@ -50,3 +50,12 @@ To use the Mosquitto as [broker](/docs/mqtt/broker/#run-your-own) add the follow
|
||||
mqtt:
|
||||
broker: core-mosquitto
|
||||
```
|
||||
|
||||
If username and password are set up in add-on, your `configuration.yaml` file should contain that data.
|
||||
|
||||
```yaml
|
||||
mqtt:
|
||||
broker: core-mosquitto
|
||||
username: YOUR_USERNAME
|
||||
password: YOUR_PASSWORD
|
||||
```
|
||||
|
Loading…
x
Reference in New Issue
Block a user