Functions | |
| CALLBACK_TYPE | async_attach_trigger (HomeAssistant hass, ConfigType config, TriggerActionType action, TriggerInfo trigger_info) |
| list[str] | has_no_punctuation (list[str] value) |
| list[str] | has_one_non_empty_item (list[str] value) |
Variables | |
| TRIGGER_SCHEMA | |
Offer sentence based automation rules.
| CALLBACK_TYPE homeassistant.components.conversation.trigger.async_attach_trigger | ( | HomeAssistant | hass, |
| ConfigType | config, | ||
| TriggerActionType | action, | ||
| TriggerInfo | trigger_info | ||
| ) |
Listen for events based on configuration.
Definition at line 52 of file trigger.py.
| list[str] homeassistant.components.conversation.trigger.has_no_punctuation | ( | list[str] | value | ) |
Validate result does not contain punctuation.
Definition at line 21 of file trigger.py.
| list[str] homeassistant.components.conversation.trigger.has_one_non_empty_item | ( | list[str] | value | ) |
Validate result has at least one item.
Definition at line 30 of file trigger.py.
| homeassistant.components.conversation.trigger.TRIGGER_SCHEMA |
Definition at line 42 of file trigger.py.