Namespaces | |
| config_flow | |
| const | |
| notify | |
Functions | |
| bool | async_setup (HomeAssistant hass, ConfigType config) |
| bool | async_setup_entry (HomeAssistant hass, ConfigEntry entry) |
| bool | async_unload_entry (HomeAssistant hass, ConfigEntry entry) |
| None | handle_webhook (HomeAssistant hass, str webhook_id, web.Request request) |
| def | verify_webhook (hass, token=None, timestamp=None, signature=None) |
Variables | |
| _LOGGER = logging.getLogger(__name__) | |
| async_remove_entry = config_entry_flow.webhook_async_remove_entry | |
| string | CONF_SANDBOX = "sandbox" |
| CONFIG_SCHEMA | |
| bool | DEFAULT_SANDBOX = False |
| string | MESSAGE_RECEIVED = f"{DOMAIN}_message_received" |
Support for Mailgun.
| bool homeassistant.components.mailgun.async_setup | ( | HomeAssistant | hass, |
| ConfigType | config | ||
| ) |
Set up the Mailgun component.
Definition at line 43 of file __init__.py.
| bool homeassistant.components.mailgun.async_setup_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Configure based on config entry.
Definition at line 95 of file __init__.py.
| bool homeassistant.components.mailgun.async_unload_entry | ( | HomeAssistant | hass, |
| ConfigEntry | entry | ||
| ) |
Unload a config entry.
Definition at line 103 of file __init__.py.
| None homeassistant.components.mailgun.handle_webhook | ( | HomeAssistant | hass, |
| str | webhook_id, | ||
| web.Request | request | ||
| ) |
Handle incoming webhook with Mailgun inbound messages.
Definition at line 52 of file __init__.py.
| def homeassistant.components.mailgun.verify_webhook | ( | hass, | |
token = None, |
|||
timestamp = None, |
|||
signature = None |
|||
| ) |
Verify webhook was signed by Mailgun.
Definition at line 77 of file __init__.py.
|
private |
Definition at line 21 of file __init__.py.
| homeassistant.components.mailgun.async_remove_entry = config_entry_flow.webhook_async_remove_entry |
Definition at line 109 of file __init__.py.
| string homeassistant.components.mailgun.CONF_SANDBOX = "sandbox" |
Definition at line 23 of file __init__.py.
| homeassistant.components.mailgun.CONFIG_SCHEMA |
Definition at line 29 of file __init__.py.
| bool homeassistant.components.mailgun.DEFAULT_SANDBOX = False |
Definition at line 25 of file __init__.py.
| string homeassistant.components.mailgun.MESSAGE_RECEIVED = f"{DOMAIN}_message_received" |
Definition at line 27 of file __init__.py.