Base class for discovery schema data templates.
Definition at line 265 of file discovery_data_template.py.
◆ _get_value_from_id()
| ZwaveValue | ZwaveConfigurationValue | None homeassistant.components.zwave_js.discovery_data_template.BaseDiscoverySchemaDataTemplate._get_value_from_id |
( |
ZwaveNode |
node, |
|
|
ZwaveValueID
|
value_id_obj |
|
) |
| |
|
staticprivate |
◆ resolve_data()
| Any homeassistant.components.zwave_js.discovery_data_template.BaseDiscoverySchemaDataTemplate.resolve_data |
( |
|
self, |
|
|
ZwaveValue |
value |
|
) |
| |
◆ value_ids_to_watch()
| set[str] homeassistant.components.zwave_js.discovery_data_template.BaseDiscoverySchemaDataTemplate.value_ids_to_watch |
( |
|
self, |
|
|
Any |
resolved_data |
|
) |
| |
Return list of all Value IDs resolved by helper that should be watched.
Not to be overwritten by subclasses.
Definition at line 285 of file discovery_data_template.py.
◆ values_to_watch()
| Iterable[ZwaveValue | None] homeassistant.components.zwave_js.discovery_data_template.BaseDiscoverySchemaDataTemplate.values_to_watch |
( |
|
self, |
|
|
Any |
resolved_data |
|
) |
| |
Return list of all ZwaveValues resolved by helper that should be watched.
Should be implemented by subclasses only if there are values to watch.
Definition at line 278 of file discovery_data_template.py.
◆ None
| homeassistant.components.zwave_js.discovery_data_template.BaseDiscoverySchemaDataTemplate.None |
|
static |
The documentation for this class was generated from the following file: