Selector of a single or list of entities.
Definition at line 773 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.EntitySelector.__init__ |
( |
|
self, |
|
|
EntitySelectorConfig | None |
config = None |
|
) |
| |
◆ __call__()
| str | list[str] homeassistant.helpers.selector.EntitySelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 794 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.EntitySelector.CONFIG_SCHEMA |
|
static |
Initial value:= ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA.extend(
{
vol.Optional("exclude_entities"): [str],
vol.Optional("include_entities"): [str],
vol.Optional("multiple", default=False): cv.boolean,
vol.Optional("filter"): vol.All(
cv.ensure_list,
[ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA],
),
}
)
Definition at line 778 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.EntitySelector.selector_type = "entity" |
|
static |
The documentation for this class was generated from the following file: