Upgrade sendgrid to 6.0.5 (#23711)
parent
0dfa5f9ffd
commit
e2afeca4fd
|
@ -3,7 +3,7 @@
|
||||||
"name": "Sendgrid",
|
"name": "Sendgrid",
|
||||||
"documentation": "https://www.home-assistant.io/components/sendgrid",
|
"documentation": "https://www.home-assistant.io/components/sendgrid",
|
||||||
"requirements": [
|
"requirements": [
|
||||||
"sendgrid==5.6.0"
|
"sendgrid==6.0.5"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
|
|
|
@ -42,7 +42,7 @@ class SendgridNotificationService(BaseNotificationService):
|
||||||
self.sender_name = config[CONF_SENDER_NAME]
|
self.sender_name = config[CONF_SENDER_NAME]
|
||||||
self.recipient = config[CONF_RECIPIENT]
|
self.recipient = config[CONF_RECIPIENT]
|
||||||
|
|
||||||
self._sg = SendGridAPIClient(apikey=self.api_key)
|
self._sg = SendGridAPIClient(self.api_key)
|
||||||
|
|
||||||
def send_message(self, message='', **kwargs):
|
def send_message(self, message='', **kwargs):
|
||||||
"""Send an email to a user via SendGrid."""
|
"""Send an email to a user via SendGrid."""
|
||||||
|
|
|
@ -1573,7 +1573,7 @@ schiene==0.23
|
||||||
scsgate==0.1.0
|
scsgate==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.sendgrid
|
# homeassistant.components.sendgrid
|
||||||
sendgrid==5.6.0
|
sendgrid==6.0.5
|
||||||
|
|
||||||
# homeassistant.components.sensehat
|
# homeassistant.components.sensehat
|
||||||
sense-hat==2.2.0
|
sense-hat==2.2.0
|
||||||
|
|
Loading…
Reference in New Issue