2.2 KiB
title | description | ha_category | ha_iot_class | ha_release | ha_quality_scale | ha_domain | ha_codeowners | ha_integration_type | ||
---|---|---|---|---|---|---|---|---|---|---|
RSS Feed Template | Use this integration to generate RSS feeds showing your latest data. |
|
Local Push | 0.44 | internal | rss_feed_template |
|
integration |
The rss_feed_template
integration can export any information from Home Assistant as a static RSS feed. This can be used to display that information on many types of devices using an RSS reader. While native apps for Home Assistant are not widely available, native RSS readers exist for almost any platform.
For example, on Android, the app "Simple RSS Widget" can be used to display temperatures on the home screen.
{% raw %}
# Example configuration.yaml entry
rss_feed_template:
# Accessible on <Home Assistant url>/api/rss_template/garden
# Example: https://localhost:8123/api/rss_template/garden
garden:
requires_api_password: false
title: "Garden {{ as_timestamp(now())|timestamp_custom('%H:%M', True) }}"
items:
- title: "Outside temperature"
description: "{% if is_state('sensor.temp_outside','unknown') %}---{% else %}{{states('sensor.temp_outside')}} °C{% endif %}"
{% endraw %}
{% configuration %} requires_api_password: description: If true and an API password is set, the password must be passed via '?api_password=...' parameter. required: false default: true type: boolean feed_id: description: "The key is used as the ID of the feed. The feed can be accessed at /api/rss_template/feed_id (example: 'garden')." required: true type: string title: description: The title of the feed, which is parsed as template. required: false type: template items: description: A list of feed items. required: true type: list keys: title: description: The title of the item, which is parsed as template. required: false type: template description: description: The description of the item, which is parsed as template. required: false type: template {% endconfiguration %}