Collection representing static YAML.
Definition at line 32 of file resources.py.
◆ __init__()
| def homeassistant.components.lovelace.resources.ResourceYAMLCollection.__init__ |
( |
|
self, |
|
|
|
data |
|
) |
| |
Initialize a resource YAML collection.
Definition at line 37 of file resources.py.
◆ async_get_info()
| def homeassistant.components.lovelace.resources.ResourceYAMLCollection.async_get_info |
( |
|
self | ) |
|
Return the resources info for YAML mode.
Definition at line 41 of file resources.py.
◆ async_items()
| list[dict] homeassistant.components.lovelace.resources.ResourceYAMLCollection.async_items |
( |
|
self | ) |
|
Return list of items in collection.
Definition at line 46 of file resources.py.
◆ data
| homeassistant.components.lovelace.resources.ResourceYAMLCollection.data |
◆ loaded
| bool homeassistant.components.lovelace.resources.ResourceYAMLCollection.loaded = True |
|
static |
The documentation for this class was generated from the following file: