mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-06-19 16:46:51 +00:00
Update MQTT discovery documentation (#15470)
This commit is contained in:
parent
2d206f8fef
commit
eb57a63481
@ -22,12 +22,12 @@ Supported by MQTT discovery:
|
|||||||
- [Tag Scanners](/integrations/tag.mqtt/)
|
- [Tag Scanners](/integrations/tag.mqtt/)
|
||||||
- [Vacuums](/integrations/vacuum.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
|
```yaml
|
||||||
# Example configuration.yaml entry
|
# Example configuration.yaml entry
|
||||||
mqtt:
|
mqtt:
|
||||||
discovery: true
|
discovery: false
|
||||||
discovery_prefix: homeassistant
|
discovery_prefix: homeassistant
|
||||||
```
|
```
|
||||||
|
|
||||||
@ -35,7 +35,7 @@ mqtt:
|
|||||||
discovery:
|
discovery:
|
||||||
description: If the MQTT discovery should be enabled or not.
|
description: If the MQTT discovery should be enabled or not.
|
||||||
required: false
|
required: false
|
||||||
default: false
|
default: true
|
||||||
type: boolean
|
type: boolean
|
||||||
discovery_prefix:
|
discovery_prefix:
|
||||||
description: The prefix for the discovery topic.
|
description: The prefix for the discovery topic.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user