Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.input_select.InputSelectStorageCollection Class Reference
Inheritance diagram for homeassistant.components.input_select.InputSelectStorageCollection:
[legend]
Collaboration diagram for homeassistant.components.input_select.InputSelectStorageCollection:
[legend]

Static Public Attributes

 CREATE_UPDATE_SCHEMA = vol.Schema(vol.All(STORAGE_FIELDS, _cv_input_select))
 

Private Member Functions

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)
 

Detailed Description

Input storage based collection.

Definition at line 227 of file __init__.py.

Member Function Documentation

◆ _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.

Member Data Documentation

◆ CREATE_UPDATE_SCHEMA

homeassistant.components.input_select.InputSelectStorageCollection.CREATE_UPDATE_SCHEMA = vol.Schema(vol.All(STORAGE_FIELDS, _cv_input_select))
static

Definition at line 230 of file __init__.py.


The documentation for this class was generated from the following file: