Namespaces | |
| reproduce_state | |
Classes | |
| class | InputSelect |
| class | InputSelectStorageCollection |
| class | InputSelectStore |
Functions | |
| dict[str, Any] | _cv_input_select (dict[str, Any] cfg) |
| list[str] | _remove_duplicates (list[str] options, str|None name) |
| Any | _unique (Any options) |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| string | CONF_INITIAL = "initial" |
| string | CONF_OPTIONS = "options" |
| CONFIG_SCHEMA | |
| string | DOMAIN = "input_select" |
| RELOAD_SERVICE_SCHEMA = vol.Schema({}) | |
| string | SERVICE_SET_OPTIONS = "set_options" |
| string | STORAGE_KEY = DOMAIN |
| int | STORAGE_VERSION = 1 |
| int | STORAGE_VERSION_MINOR = 2 |
Support to select an option from a list.
|
private |
Configure validation helper for input select (voluptuous).
Definition at line 85 of file __init__.py.
|
private |
Remove duplicated options.
Definition at line 68 of file __init__.py.
|
private |
Definition at line 51 of file __init__.py.
| bool homeassistant.components.input_select.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up an input select.
Definition at line 135 of file __init__.py.
|
private |
Definition at line 38 of file __init__.py.
| string homeassistant.components.input_select.CONF_INITIAL = "initial" |
Definition at line 42 of file __init__.py.
| string homeassistant.components.input_select.CONF_OPTIONS = "options" |
Definition at line 43 of file __init__.py.
| homeassistant.components.input_select.CONFIG_SCHEMA |
Definition at line 97 of file __init__.py.
| string homeassistant.components.input_select.DOMAIN = "input_select" |
Definition at line 40 of file __init__.py.
| homeassistant.components.input_select.RELOAD_SERVICE_SCHEMA = vol.Schema({}) |
Definition at line 115 of file __init__.py.
| string homeassistant.components.input_select.SERVICE_SET_OPTIONS = "set_options" |
Definition at line 45 of file __init__.py.
| string homeassistant.components.input_select.STORAGE_KEY = DOMAIN |
Definition at line 46 of file __init__.py.
| int homeassistant.components.input_select.STORAGE_VERSION = 1 |
Definition at line 47 of file __init__.py.
| int homeassistant.components.input_select.STORAGE_VERSION_MINOR = 2 |
Definition at line 48 of file __init__.py.