From e2afeca4fd3601ab03bd987c0f6be62a94131586 Mon Sep 17 00:00:00 2001 From: Fabian Affolter Date: Mon, 6 May 2019 14:13:16 +0200 Subject: [PATCH] Upgrade sendgrid to 6.0.5 (#23711) --- homeassistant/components/sendgrid/manifest.json | 2 +- homeassistant/components/sendgrid/notify.py | 2 +- requirements_all.txt | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/homeassistant/components/sendgrid/manifest.json b/homeassistant/components/sendgrid/manifest.json index 47372d861f1..eb006f408bc 100644 --- a/homeassistant/components/sendgrid/manifest.json +++ b/homeassistant/components/sendgrid/manifest.json @@ -3,7 +3,7 @@ "name": "Sendgrid", "documentation": "https://www.home-assistant.io/components/sendgrid", "requirements": [ - "sendgrid==5.6.0" + "sendgrid==6.0.5" ], "dependencies": [], "codeowners": [] diff --git a/homeassistant/components/sendgrid/notify.py b/homeassistant/components/sendgrid/notify.py index 563e47b8afe..c5f00c0bb71 100644 --- a/homeassistant/components/sendgrid/notify.py +++ b/homeassistant/components/sendgrid/notify.py @@ -42,7 +42,7 @@ class SendgridNotificationService(BaseNotificationService): self.sender_name = config[CONF_SENDER_NAME] self.recipient = config[CONF_RECIPIENT] - self._sg = SendGridAPIClient(apikey=self.api_key) + self._sg = SendGridAPIClient(self.api_key) def send_message(self, message='', **kwargs): """Send an email to a user via SendGrid.""" diff --git a/requirements_all.txt b/requirements_all.txt index b4f7c96522f..8f75fde972e 100644 --- a/requirements_all.txt +++ b/requirements_all.txt @@ -1573,7 +1573,7 @@ schiene==0.23 scsgate==0.1.0 # homeassistant.components.sendgrid -sendgrid==5.6.0 +sendgrid==6.0.5 # homeassistant.components.sensehat sense-hat==2.2.0