mirror of
https://github.com/esphome/esphome-docs.git
synced 2025-02-03 23:41:36 +01:00
Added Docker command (#210)
* Added Docker command Added Docker command in section "Using with Home Assistant" * Update mqtt.rst
This commit is contained in:
parent
a99915eef1
commit
c1e42981b6
@ -145,6 +145,12 @@ retained messages for you:
|
|||||||
|
|
||||||
esphome configuration.yaml clean-mqtt
|
esphome configuration.yaml clean-mqtt
|
||||||
|
|
||||||
|
With Docker:
|
||||||
|
|
||||||
|
.. code-block:: bash
|
||||||
|
|
||||||
|
docker run --rm -v "${PWD}":/config -it esphome/esphome configuration.yaml clean-mqtt
|
||||||
|
|
||||||
This will remove all retained messages with the topic
|
This will remove all retained messages with the topic
|
||||||
``<DISCOVERY_PREFIX>/+/NODE_NAME/#``. If you want to purge on another
|
``<DISCOVERY_PREFIX>/+/NODE_NAME/#``. If you want to purge on another
|
||||||
topic, simply add ``--topic <your_topic>`` to the command.
|
topic, simply add ``--topic <your_topic>`` to the command.
|
||||||
|
Loading…
Reference in New Issue
Block a user