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

Public Member Functions

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

Static Public Attributes

 CONFIG_SCHEMA
 
string selector_type = "theme"
 

Detailed Description

Selector for an theme.

Definition at line 1364 of file selector.py.

Constructor & Destructor Documentation

◆ __init__()

None homeassistant.helpers.selector.ThemeSelector.__init__ (   self,
ThemeSelectorConfig | None   config = None 
)
Instantiate a selector.

Definition at line 1375 of file selector.py.

Member Function Documentation

◆ __call__()

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

Definition at line 1379 of file selector.py.

Member Data Documentation

◆ CONFIG_SCHEMA

homeassistant.helpers.selector.ThemeSelector.CONFIG_SCHEMA
static
Initial value:
= vol.Schema(
{
vol.Optional("include_default", default=False): cv.boolean,
}
)

Definition at line 1369 of file selector.py.

◆ selector_type

string homeassistant.helpers.selector.ThemeSelector.selector_type = "theme"
static

Definition at line 1367 of file selector.py.


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