Selector for a single-choice country select.
Definition at line 616 of file selector.py.
◆ __init__()
| None homeassistant.helpers.selector.CountrySelector.__init__ |
( |
|
self, |
|
|
CountrySelectorConfig | None |
config = None |
|
) |
| |
◆ __call__()
| Any homeassistant.helpers.selector.CountrySelector.__call__ |
( |
|
self, |
|
|
Any |
data |
|
) |
| |
Validate the passed selection.
Definition at line 632 of file selector.py.
◆ CONFIG_SCHEMA
| homeassistant.helpers.selector.CountrySelector.CONFIG_SCHEMA |
|
static |
Initial value:= vol.Schema(
{
vol.Optional("countries"): [str],
vol.Optional("no_sort", default=False): cv.boolean,
}
)
Definition at line 621 of file selector.py.
◆ selector_type
| string homeassistant.helpers.selector.CountrySelector.selector_type = "country" |
|
static |
The documentation for this class was generated from the following file: