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
1 changed files with 9 additions and 0 deletions
|
@ -50,3 +50,12 @@ To use the Mosquitto as [broker](/docs/mqtt/broker/#run-your-own) add the follow
|
||||||
mqtt:
|
mqtt:
|
||||||
broker: core-mosquitto
|
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…
Add table
Add a link
Reference in a new issue