mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-19 07:17:14 +00:00
Update Discovery component configuration (#7271)
This commit is contained in:
parent
683ff69383
commit
8040a30a01
@ -33,10 +33,19 @@ mqtt:
|
|||||||
discovery: true
|
discovery: true
|
||||||
discovery_prefix: homeassistant
|
discovery_prefix: homeassistant
|
||||||
```
|
```
|
||||||
Configuration variables:
|
|
||||||
|
|
||||||
- **discovery** (*Optional*): If the MQTT discovery should be enabled or not. Defaults to `False`.
|
{% configuration %}
|
||||||
- **discovery_prefix** (*Optional*): The prefix for the discovery topic. Defaults to `homeassistant`.
|
discovery:
|
||||||
|
description: If the MQTT discovery should be enabled or not.
|
||||||
|
required: false
|
||||||
|
default: false
|
||||||
|
type: boolean
|
||||||
|
discovery_prefix:
|
||||||
|
description: The prefix for the discovery topic.
|
||||||
|
required: false
|
||||||
|
default: homeassistant
|
||||||
|
type: string
|
||||||
|
{% endconfiguration %}
|
||||||
|
|
||||||
<p class='note'>
|
<p class='note'>
|
||||||
The [embedded MQTT broker](/docs/mqtt/broker#embedded-broker) does not save any messages between restarts. If you use the embedded MQTT broker you have to send the MQTT discovery messages after every Home Assistant restart for the devices to show up.
|
The [embedded MQTT broker](/docs/mqtt/broker#embedded-broker) does not save any messages between restarts. If you use the embedded MQTT broker you have to send the MQTT discovery messages after every Home Assistant restart for the devices to show up.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user