Add warning about MQTT with native API

This commit is contained in:
Otto Winter 2019-03-11 13:31:12 +01:00
parent 0ad211f102
commit cfb597899d
No known key found for this signature in database
GPG Key ID: DB66C0BE6013F97E
1 changed files with 6 additions and 0 deletions

View File

@ -12,6 +12,12 @@ just be able to copy over the `MQTT
section <https://www.home-assistant.io/components/mqtt/>`__ of your Home
Assistant configuration.
.. warning::
When enabling MQTT and you do *not* use the "native API" for Home Assistant, you must
remove the ``api:`` line from your ESPHome configuration, otherwise the ESP will
reboot every 5 minutes because no client connected to the native API.
.. code-block:: yaml
# Example configuration entry