Selector of a add-on.
Definition at line 212 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.AddonSelector.__init__ |
( |
|
self, |
|
|
AddonSelectorConfig | None |
config = None |
|
) |
| |
◆ __call__()
| str homeassistant.helpers.selector.AddonSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 228 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.AddonSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Optional("name"): str,
vol.Optional("slug"): str,
}
)
Definition at line 217 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.AddonSelector.selector_type = "addon" |
|
static |
The documentation for this class was generated from the following file: