Skip to content

Commit

Permalink
Clarify MQTT docs when logging is disabled
Browse files Browse the repository at this point in the history
Related to esphome/issues#6046,
it isn't necissary to remove the api component entirely.

In fact, it is kinda nice to keep it there for tailing logs if the
log_topic is `null`.

This clarifies that you can just set `reboot_timeout` and keep it
enabled.
  • Loading branch information
solarkennedy committed Nov 5, 2024
1 parent 0bd7b21 commit 285cd4b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/mqtt.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ in which case this is not needed.

.. warning::

If you enable 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
If you enable MQTT and you do *not* use the :ref:`Native API <api>`" component, you must
remove the ``api:`` component or set ``reboot_timeout: 0s``, otherwise the ESP will
reboot every 15 minutes because no client connected to the native API.

.. code-block:: yaml
Expand Down

0 comments on commit 285cd4b

Please sign in to comment.