fix value_template string Markdown issue

value_template string was getting lost in markdown resulting in web page just showing `value_template: ''`. This should fix the issue...blatent copy from  https://github.com/balloob/home-assistant.io/blob/master/source/_cookbook/track_battery_level.markdown :-)
This commit is contained in:
Glyn Hudson 2016-03-28 21:22:00 +01:00
parent e196c6a8d8
commit 3ef4c9c906

View File

@ -56,6 +56,6 @@ sensor:
state_topic: "owntracks/tablet/tablet"
name: "Battery Tablet"
unit_of_measurement: "%"
value_template: '{{ value_json.batt }}'
value_template: {% raw %}'{{ value_json.batt }}'{% endraw %}
```