Upgrade sendgrid to 6.0.5 (#23711)

pull/23733/head
Fabian Affolter 2019-05-06 14:13:16 +02:00 committed by Andrew Sayre
parent 0dfa5f9ffd
commit e2afeca4fd
3 changed files with 3 additions and 3 deletions

View File

@ -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": []

View File

@ -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."""

View File

@ -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