Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.rss_feed_template Namespace Reference

Classes

class  RssView
 

Functions

bool setup (HomeAssistant hass, ConfigType config)
 

Variables

 CONFIG_SCHEMA
 
string CONTENT_TYPE_XML = "text/xml"
 
string DOMAIN = "rss_feed_template"
 

Detailed Description

Support to export sensor values via RSS feed.

Function Documentation

◆ setup()

bool homeassistant.components.rss_feed_template.setup ( HomeAssistant  hass,
ConfigType  config 
)
Set up the RSS feed template component.

Definition at line 45 of file __init__.py.

Variable Documentation

◆ CONFIG_SCHEMA

homeassistant.components.rss_feed_template.CONFIG_SCHEMA
Initial value:
1 = vol.Schema(
2  {
3  DOMAIN: vol.Schema(
4  {
5  cv.match_all: vol.Schema(
6  {
7  vol.Optional("requires_api_password", default=True): cv.boolean,
8  vol.Optional("title"): cv.template,
9  vol.Required("items"): vol.All(
10  cv.ensure_list,
11  [
12  {
13  vol.Optional("title"): cv.template,
14  vol.Optional("description"): cv.template,
15  }
16  ],
17  ),
18  }
19  )
20  }
21  )
22  },
23  extra=vol.ALLOW_EXTRA,
24 )

Definition at line 19 of file __init__.py.

◆ CONTENT_TYPE_XML

string homeassistant.components.rss_feed_template.CONTENT_TYPE_XML = "text/xml"

Definition at line 16 of file __init__.py.

◆ DOMAIN

string homeassistant.components.rss_feed_template.DOMAIN = "rss_feed_template"

Definition at line 17 of file __init__.py.