Fix MQTT Tag Scanner example to use raw (#17563)

This commit is contained in:
Shay Levy 2021-04-23 12:35:01 +03:00 committed by GitHub
parent a05d960273
commit 428f726494
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -74,10 +74,14 @@ To test, you can use the command line tool `mosquitto_pub` shipped with `mosquit
Discover the tag scanner: Discover the tag scanner:
{% raw %}
```bash ```bash
mosquitto_pub -h 127.0.0.1 -t homeassistant/tag/0AFFD2/config -m '{"topic": "0AFFD2/tag_scanned", "value_template": "{{ value_json.PN532.UID }}"}' 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: Generate tag scanned event:
{% raw %} {% raw %}
@ -87,4 +91,3 @@ mosquitto_pub -h 127.0.0.1 -t 0AFFD2/tag_scanned -m '{"Time":"2020-09-28T17:02:1
``` ```
{% endraw %} {% endraw %}