Public Member Functions | |
| None | async_load (self, list[dict] data) |
Public Member Functions inherited from homeassistant.helpers.collection.YamlCollection | |
| None | __init__ (self, logging.Logger logger, IDManager|None id_manager=None) |
Public Member Functions inherited from homeassistant.helpers.collection.ObservableCollection | |
| None | __init__ (self, IDManager|None id_manager) |
| Callable[[], None] | async_add_change_set_listener (self, ChangeSetListener listener) |
| Callable[[], None] | async_add_listener (self, ChangeListener listener) |
| list[_ItemT] | async_items (self) |
| None | notify_changes (self, Iterable[CollectionChange] change_set) |
Static Public Attributes | |
| int | counter = 0 |
Additional Inherited Members | |
Static Public Member Functions inherited from homeassistant.helpers.collection.YamlCollection | |
| CollectionEntity | create_entity (type[CollectionEntity] entity_class, ConfigType config) |
Public Attributes inherited from homeassistant.helpers.collection.YamlCollection | |
| logger | |
Public Attributes inherited from homeassistant.helpers.collection.ObservableCollection | |
| id_manager | |
A collection without IDs.
Definition at line 417 of file collection.py.
| None homeassistant.helpers.collection.IDLessCollection.async_load | ( | self, | |
| list[dict] | data | ||
| ) |
Load the collection. Overrides existing data.
Reimplemented from homeassistant.helpers.collection.YamlCollection.
Definition at line 422 of file collection.py.
|
static |
Definition at line 420 of file collection.py.