From 00d208c99c34cf6d2d1c50a4f541bf26a92ac8ff Mon Sep 17 00:00:00 2001 From: Variour Date: Fri, 19 Oct 2018 20:40:38 +0200 Subject: [PATCH] Added note about persistence of messages with embedded broker (#6949) * Added note about persistence of messages with embedded broker The embedded mqtt broker does not save messages between restarts. Because of this the discoverys messages have to be sent after every restart for the devices to show up in HA. I added a note section to make users aware of this. * Minor change --- source/_docs/mqtt/discovery.markdown | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/source/_docs/mqtt/discovery.markdown b/source/_docs/mqtt/discovery.markdown index af0f99c2c1e..2e9a79e051f 100644 --- a/source/_docs/mqtt/discovery.markdown +++ b/source/_docs/mqtt/discovery.markdown @@ -38,6 +38,10 @@ Configuration variables: - **discovery** (*Optional*): If the MQTT discovery should be enabled or not. Defaults to `False`. - **discovery_prefix** (*Optional*): The prefix for the discovery topic. Defaults to `homeassistant`. +

+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 discovery topic need to follow a specific format: ```text