Input storage based collection.
Definition at line 167 of file __init__.py.
◆ _async_load_data()
| collection.SerializedStorageCollection | None homeassistant.components.input_number.NumberStorageCollection._async_load_data |
( |
|
self | ) |
|
|
private |
Load the data.
A past bug caused frontend to add initial value to all input numbers.
This drops that.
Definition at line 181 of file __init__.py.
◆ _get_suggested_id()
| str homeassistant.components.input_number.NumberStorageCollection._get_suggested_id |
( |
|
self, |
|
|
dict |
info |
|
) |
| |
|
private |
Suggest an ID based on the config.
Definition at line 177 of file __init__.py.
◆ _process_create_data()
| dict homeassistant.components.input_number.NumberStorageCollection._process_create_data |
( |
|
self, |
|
|
dict |
data |
|
) |
| |
|
private |
Validate the config is valid.
Definition at line 172 of file __init__.py.
◆ _update_data()
| dict homeassistant.components.input_number.NumberStorageCollection._update_data |
( |
|
self, |
|
|
dict |
item, |
|
|
dict |
update_data |
|
) |
| |
|
private |
Return a new updated data object.
Definition at line 197 of file __init__.py.
◆ SCHEMA
| homeassistant.components.input_number.NumberStorageCollection.SCHEMA = vol.Schema(vol.All(STORAGE_FIELDS, _cv_input_number)) |
|
static |
The documentation for this class was generated from the following file: