The SendGrid Home Assistant notification component allows you to send notifications from Home Assistant to an email recipient via SendGrid. Home Assistant is an open source home automation platform. SendGrid is a proven cloud-based email platform.
This was accepted upstream and will be included in the 0.14 release of Home Assistant: home-assistant/core#1419
Place sendgrid.py in <config directory>/custom_components/
.
For more information, check out Home Assistant's custom components.
To enable notification by email in your installation, add the following to your configuration.yaml
file:
# Example configuration.yaml entry
notify:
name: NOTIFIER_NAME
platform: sendgrid
api_key: API_KEY
sender: SENDER_EMAIL_ADDRESS
recipient: YOUR_RECIPIENT
Configuration variables:
- name (Optional): Setting the optional parameter
name
allows multiple notifiers to be created. The default value isnotify
. The notifier will bind to the servicenotify.NOTIFIER_NAME
. - api_key (Required): SendGrid API key - https://app.sendgrid.com/settings/api_keys
- sender (Required): E-mail address of the sender.
- recipient (Required): Recipient of the notification.