From 428f726494f867609a2e1de285c1fb44e0a06235 Mon Sep 17 00:00:00 2001 From: Shay Levy Date: Fri, 23 Apr 2021 12:35:01 +0300 Subject: [PATCH] Fix MQTT Tag Scanner example to use raw (#17563) --- source/_integrations/tag.mqtt.markdown | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/source/_integrations/tag.mqtt.markdown b/source/_integrations/tag.mqtt.markdown index 1b509fd1efd..f783b6b5dca 100644 --- a/source/_integrations/tag.mqtt.markdown +++ b/source/_integrations/tag.mqtt.markdown @@ -74,10 +74,14 @@ To test, you can use the command line tool `mosquitto_pub` shipped with `mosquit Discover the tag scanner: +{% raw %} + ```bash mosquitto_pub -h 127.0.0.1 -t homeassistant/tag/0AFFD2/config -m '{"topic": "0AFFD2/tag_scanned", "value_template": "{{ value_json.PN532.UID }}"}' ``` +{% endraw %} + Generate tag scanned event: {% raw %} @@ -87,4 +91,3 @@ mosquitto_pub -h 127.0.0.1 -t 0AFFD2/tag_scanned -m '{"Time":"2020-09-28T17:02:1 ``` {% endraw %} -