mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-23 09:17:06 +00:00
Fix template example
This commit is contained in:
parent
96cef97035
commit
e3d71518ec
@ -21,10 +21,10 @@ E.g. on android, the app "Simple RSS Widget" can be used to display temperatures
|
||||
rss_feed_template:
|
||||
garden:
|
||||
requires_api_password: False
|
||||
title: "Garden {{ as_timestamp(now())|timestamp_custom('%H:%m', True) }}"
|
||||
title: "Garden {% raw %}{{ as_timestamp(now())|timestamp_custom('%H:%m', True) }}{% endraw %}"
|
||||
items:
|
||||
- title: "Outside temperature"
|
||||
description: "{% if is_state('sensor.temp_outside','unknown') %}---{% else %}{{states.sensor.temp_outside.state}} °C{% endif %}"
|
||||
description: "{% raw %}{% if is_state('sensor.temp_outside','unknown') %}---{% else %}{{states.sensor.temp_outside.state}} °C{% endif %}{% endraw %}"
|
||||
```
|
||||
|
||||
Configuration variables:
|
||||
|
Loading…
x
Reference in New Issue
Block a user