Home Assistant Unofficial Reference 2024.12.1
homeassistant.components.sendgrid.notify.SendgridNotificationService Class Reference
Inheritance diagram for homeassistant.components.sendgrid.notify.SendgridNotificationService:
[legend]
Collaboration diagram for homeassistant.components.sendgrid.notify.SendgridNotificationService:
[legend]

Public Member Functions

def __init__ (self, config)
 
def send_message (self, message="", **kwargs)
 

Public Attributes

 api_key
 
 recipient
 
 sender
 
 sender_name
 

Private Attributes

 _sg
 

Detailed Description

Implementation the notification service for email via Sendgrid.

Definition at line 52 of file notify.py.

Constructor & Destructor Documentation

◆ __init__()

def homeassistant.components.sendgrid.notify.SendgridNotificationService.__init__ (   self,
  config 
)
Initialize the service.

Definition at line 55 of file notify.py.

Member Function Documentation

◆ 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.

Member Data Documentation

◆ _sg

homeassistant.components.sendgrid.notify.SendgridNotificationService._sg
private

Definition at line 62 of file notify.py.

◆ api_key

homeassistant.components.sendgrid.notify.SendgridNotificationService.api_key

Definition at line 57 of file notify.py.

◆ recipient

homeassistant.components.sendgrid.notify.SendgridNotificationService.recipient

Definition at line 60 of file notify.py.

◆ sender

homeassistant.components.sendgrid.notify.SendgridNotificationService.sender

Definition at line 58 of file notify.py.

◆ sender_name

homeassistant.components.sendgrid.notify.SendgridNotificationService.sender_name

Definition at line 59 of file notify.py.


The documentation for this class was generated from the following file: