Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info, *str platform_type=PLATFORM_TYPE) |
| ConfigType | async_validate_trigger_config (HomeAssistant hass, ConfigType config) |
Variables | |
| string | ATTR_FROM = "from" |
| string | ATTR_TO = "to" |
| string | PLATFORM_TYPE = f"{DOMAIN}.{__name__.rsplit('.', maxsplit=1)[-1]}" |
| TRIGGER_SCHEMA | |
Offer Z-Wave JS value updated listening automation trigger.
| CALLBACK_TYPE homeassistant.components.zwave_js.triggers.value_updated.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info, | ||
| *str | platform_type = PLATFORM_TYPE |
||
| ) |
Listen for state changes based on configuration.
Definition at line 86 of file value_updated.py.
| ConfigType homeassistant.components.zwave_js.triggers.value_updated.async_validate_trigger_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate config.
Definition at line 70 of file value_updated.py.
| string homeassistant.components.zwave_js.triggers.value_updated.ATTR_FROM = "from" |
Definition at line 43 of file value_updated.py.
| string homeassistant.components.zwave_js.triggers.value_updated.ATTR_TO = "to" |
Definition at line 44 of file value_updated.py.
| string homeassistant.components.zwave_js.triggers.value_updated.PLATFORM_TYPE = f"{DOMAIN}.{__name__.rsplit('.', maxsplit=1)[-1]}" |
Definition at line 41 of file value_updated.py.
| homeassistant.components.zwave_js.triggers.value_updated.TRIGGER_SCHEMA |
Definition at line 46 of file value_updated.py.