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