Update MQTT discovery documentation (#15470)

This commit is contained in:
Erik Montnemery 2020-10-29 19:23:51 +01:00 committed by GitHub
parent 2d206f8fef
commit eb57a63481
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,12 +22,12 @@ Supported by MQTT discovery:
- [Tag Scanners](/integrations/tag.mqtt/)
- [Vacuums](/integrations/vacuum.mqtt/)
To enable MQTT discovery, add the following to your `configuration.yaml` file:
MQTT discovery is enabled by default. To disable MQTT discovery, add the following to your `configuration.yaml` file:
```yaml
# Example configuration.yaml entry
mqtt:
discovery: true
discovery: false
discovery_prefix: homeassistant
```
@ -35,7 +35,7 @@ mqtt:
discovery:
description: If the MQTT discovery should be enabled or not.
required: false
default: false
default: true
type: boolean
discovery_prefix:
description: The prefix for the discovery topic.