Input storage based collection.
Definition at line 137 of file __init__.py.
◆ _get_suggested_id()
| str homeassistant.components.counter.CounterStorageCollection._get_suggested_id |
( |
|
self, |
|
|
dict |
info |
|
) |
| |
|
private |
Suggest an ID based on the config.
Definition at line 147 of file __init__.py.
◆ _process_create_data()
| dict homeassistant.components.counter.CounterStorageCollection._process_create_data |
( |
|
self, |
|
|
dict |
data |
|
) |
| |
|
private |
Validate the config is valid.
Definition at line 142 of file __init__.py.
◆ _update_data()
| dict homeassistant.components.counter.CounterStorageCollection._update_data |
( |
|
self, |
|
|
dict |
item, |
|
|
dict |
update_data |
|
) |
| |
|
private |
Return a new updated data object.
Definition at line 151 of file __init__.py.
◆ CREATE_UPDATE_SCHEMA
| homeassistant.components.counter.CounterStorageCollection.CREATE_UPDATE_SCHEMA = vol.Schema(STORAGE_FIELDS) |
|
static |
The documentation for this class was generated from the following file: