Selector for an theme.
Definition at line 1364 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.ThemeSelector.__init__ |
( |
|
self, |
|
|
ThemeSelectorConfig | None |
config = None |
|
) |
| |
◆ __call__()
| str homeassistant.helpers.selector.ThemeSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 1379 of file selector.py.
◆ 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 |
The documentation for this class was generated from the following file: