mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-20 07:46:52 +00:00
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:
parent
e196c6a8d8
commit
3ef4c9c906
@ -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 %}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user