Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
| dict[str, vol.Schema] | async_get_trigger_capabilities (HomeAssistant hass, ConfigType config) |
| list[dict[str, str]] | async_get_triggers (HomeAssistant hass, str device_id) |
Variables | |
| dictionary | ACCESS_CONTROL_SCHEMA = {vol.Optional("code"): vol.All(vol.Lower, cv.string)} |
| LCN_DEVICE_TRIGGER_BASE_SCHEMA | |
| dictionary | SENDKEYS_SCHEMA |
| dictionary | TRANSMITTER_SCHEMA |
| TRIGGER_SCHEMA | |
| dictionary | TRIGGER_TYPES = {"transmitter", "transponder", "fingerprint", "codelock", "send_keys"} |
| dictionary | TYPE_SCHEMAS |
Provides device triggers for LCN.
| CALLBACK_TYPE homeassistant.components.lcn.device_trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Attach a trigger.
Definition at line 73 of file device_trigger.py.
| dict[str, vol.Schema] homeassistant.components.lcn.device_trigger.async_get_trigger_capabilities | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
List trigger capabilities.
Definition at line 102 of file device_trigger.py.
| list[dict[str, str]] homeassistant.components.lcn.device_trigger.async_get_triggers | ( | HomeAssistant | hass, |
| str | device_id | ||
| ) |
List device triggers for LCN devices.
Definition at line 52 of file device_trigger.py.
| dictionary homeassistant.components.lcn.device_trigger.ACCESS_CONTROL_SCHEMA = {vol.Optional("code"): vol.All(vol.Lower, cv.string)} |
Definition at line 23 of file device_trigger.py.
| homeassistant.components.lcn.device_trigger.LCN_DEVICE_TRIGGER_BASE_SCHEMA |
Definition at line 19 of file device_trigger.py.
| dictionary homeassistant.components.lcn.device_trigger.SENDKEYS_SCHEMA |
Definition at line 32 of file device_trigger.py.
| dictionary homeassistant.components.lcn.device_trigger.TRANSMITTER_SCHEMA |
Definition at line 25 of file device_trigger.py.
| homeassistant.components.lcn.device_trigger.TRIGGER_SCHEMA |
Definition at line 37 of file device_trigger.py.
| dictionary homeassistant.components.lcn.device_trigger.TRIGGER_TYPES = {"transmitter", "transponder", "fingerprint", "codelock", "send_keys"} |
Definition at line 17 of file device_trigger.py.
| dictionary homeassistant.components.lcn.device_trigger.TYPE_SCHEMAS |
Definition at line 43 of file device_trigger.py.