|
| str | _get_suggested_id (self, dict[str, Any] info) |
| |
| dict[str, Any] | _process_create_data (self, dict[str, Any] data) |
| |
| dict[str, Any] | _update_data (self, dict[str, Any] item, dict[str, Any] update_data) |
| |
Input storage based collection.
Definition at line 227 of file __init__.py.
◆ _get_suggested_id()
| str homeassistant.components.input_select.InputSelectStorageCollection._get_suggested_id |
( |
|
self, |
|
|
dict[str, Any] |
info |
|
) |
| |
|
private |
Suggest an ID based on the config.
Definition at line 237 of file __init__.py.
◆ _process_create_data()
| dict[str, Any] homeassistant.components.input_select.InputSelectStorageCollection._process_create_data |
( |
|
self, |
|
|
dict[str, Any] |
data |
|
) |
| |
|
private |
Validate the config is valid.
Definition at line 232 of file __init__.py.
◆ _update_data()
| dict[str, Any] homeassistant.components.input_select.InputSelectStorageCollection._update_data |
( |
|
self, |
|
|
dict[str, Any] |
item, |
|
|
dict[str, Any]
|
update_data |
|
) |
| |
|
private |
Return a new updated data object.
Definition at line 241 of file __init__.py.
◆ CREATE_UPDATE_SCHEMA
| homeassistant.components.input_select.InputSelectStorageCollection.CREATE_UPDATE_SCHEMA = vol.Schema(vol.All(STORAGE_FIELDS, _cv_input_select)) |
|
static |
The documentation for this class was generated from the following file: