Implementation the notification service for email via Sendgrid.
Definition at line 52 of file notify.py.
◆ __init__()
| def homeassistant.components.sendgrid.notify.SendgridNotificationService.__init__ |
( |
|
self, |
|
|
|
config |
|
) |
| |
Initialize the service.
Definition at line 55 of file notify.py.
◆ send_message()
| def homeassistant.components.sendgrid.notify.SendgridNotificationService.send_message |
( |
|
self, |
|
|
|
message = "", |
|
|
** |
kwargs |
|
) |
| |
Send an email to a user via SendGrid.
Definition at line 64 of file notify.py.
◆ _sg
| homeassistant.components.sendgrid.notify.SendgridNotificationService._sg |
|
private |
◆ api_key
| homeassistant.components.sendgrid.notify.SendgridNotificationService.api_key |
◆ recipient
| homeassistant.components.sendgrid.notify.SendgridNotificationService.recipient |
◆ sender
| homeassistant.components.sendgrid.notify.SendgridNotificationService.sender |
◆ sender_name
| homeassistant.components.sendgrid.notify.SendgridNotificationService.sender_name |
The documentation for this class was generated from the following file:
- core/homeassistant/components/sendgrid/notify.py