Functions | |
| None | append_input_triggers (list[dict[str, str]] triggers, list[tuple[str, str]] input_triggers, str device_id) |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
| list[dict[str, str]] | async_get_triggers (HomeAssistant hass, str device_id) |
| ConfigType | async_validate_trigger_config (HomeAssistant hass, ConfigType config) |
Variables | |
| Final | |
Provides device triggers for Shelly.
| None homeassistant.components.shelly.device_trigger.append_input_triggers | ( | list[dict[str, str]] | triggers, |
| list[tuple[str, str]] | input_triggers, | ||
| str | device_id | ||
| ) |
Add trigger to triggers list.
Definition at line 57 of file device_trigger.py.
| CALLBACK_TYPE homeassistant.components.shelly.device_trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Attach a trigger.
Definition at line 143 of file device_trigger.py.
| list[dict[str, str]] homeassistant.components.shelly.device_trigger.async_get_triggers | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device triggers for Shelly devices.
Definition at line 112 of file device_trigger.py.
| ConfigType homeassistant.components.shelly.device_trigger.async_validate_trigger_config | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Validate config.
Definition at line 75 of file device_trigger.py.
| homeassistant.components.shelly.device_trigger.Final |
Definition at line 47 of file device_trigger.py.