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:
b1g1an 2017-12-07 11:39:37 +00:00 committed by Fabian Affolter
parent 33640d18af
commit 0159cb6f10

View File

@ -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
```