Selector of a single or list of areas.
Definition at line 243 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.AreaSelector.__init__ |
( |
|
self, |
|
|
AreaSelectorConfig | None |
config = None |
|
) |
| |
◆ __call__()
| str | list[str] homeassistant.helpers.selector.AreaSelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 266 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.AreaSelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Optional("entity"): vol.All(
cv.ensure_list,
[ENTITY_FILTER_SELECTOR_CONFIG_SCHEMA],
),
vol.Optional("device"): vol.All(
cv.ensure_list,
[DEVICE_FILTER_SELECTOR_CONFIG_SCHEMA],
),
vol.Optional("multiple", default=False): cv.boolean,
}
)
Definition at line 248 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.AreaSelector.selector_type = "area" |
|
static |
The documentation for this class was generated from the following file: