mirror of
https://github.com/home-assistant/home-assistant.io.git
synced 2025-07-25 10:17:23 +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:
|
rss_feed_template:
|
||||||
garden:
|
garden:
|
||||||
requires_api_password: False
|
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:
|
items:
|
||||||
- title: "Outside temperature"
|
- 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:
|
Configuration variables:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user