Home Assistant Unofficial Reference 2024.12.1
homeassistant.helpers.selector.TemplateSelector Class Reference
Inheritance diagram for homeassistant.helpers.selector.TemplateSelector:
[legend]
Collaboration diagram for homeassistant.helpers.selector.TemplateSelector:
[legend]

Public Member Functions

str __call__ (self, Any data)
 
None __init__ (self, TemplateSelectorConfig|None config=None)
 

Static Public Attributes

 CONFIG_SCHEMA = vol.Schema({})
 
string selector_type = "template"
 

Detailed Description

Selector for an template.

Definition at line 1278 of file selector.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.selector.TemplateSelector.__init__ (   self,
TemplateSelectorConfig | None   config = None 
)
Instantiate a selector.

Definition at line 1285 of file selector.py.

Member Function Documentation

◆ __call__()

str homeassistant.helpers.selector.TemplateSelector.__call__ (   self,
Any  data 
)
Validate the passed selection.

Definition at line 1289 of file selector.py.

Member Data Documentation

◆ CONFIG_SCHEMA

homeassistant.helpers.selector.TemplateSelector.CONFIG_SCHEMA = vol.Schema({})
static

Definition at line 1283 of file selector.py.

◆ selector_type

string homeassistant.helpers.selector.TemplateSelector.selector_type = "template"
static

Definition at line 1281 of file selector.py.


The documentation for this class was generated from the following file: