mirror of
https://github.com/home-assistant/core.git
synced 2025-07-23 05:07:41 +00:00
Upgrade sendgrid to 6.1.0 (#26809)
* Upgrade sendgrid to 6.1.0 * Move import (could to be a Black issue)
This commit is contained in:
parent
04cae0818d
commit
5624e3efd4
@ -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==6.0.5"
|
"sendgrid==6.1.0"
|
||||||
],
|
],
|
||||||
"dependencies": [],
|
"dependencies": [],
|
||||||
"codeowners": []
|
"codeowners": []
|
||||||
|
@ -3,6 +3,8 @@ import logging
|
|||||||
|
|
||||||
import voluptuous as vol
|
import voluptuous as vol
|
||||||
|
|
||||||
|
from sendgrid import SendGridAPIClient
|
||||||
|
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
CONF_API_KEY,
|
CONF_API_KEY,
|
||||||
CONF_RECIPIENT,
|
CONF_RECIPIENT,
|
||||||
@ -45,8 +47,6 @@ class SendgridNotificationService(BaseNotificationService):
|
|||||||
|
|
||||||
def __init__(self, config):
|
def __init__(self, config):
|
||||||
"""Initialize the service."""
|
"""Initialize the service."""
|
||||||
from sendgrid import SendGridAPIClient
|
|
||||||
|
|
||||||
self.api_key = config[CONF_API_KEY]
|
self.api_key = config[CONF_API_KEY]
|
||||||
self.sender = config[CONF_SENDER]
|
self.sender = config[CONF_SENDER]
|
||||||
self.sender_name = config[CONF_SENDER_NAME]
|
self.sender_name = config[CONF_SENDER_NAME]
|
||||||
|
@ -1720,7 +1720,7 @@ schiene==0.23
|
|||||||
scsgate==0.1.0
|
scsgate==0.1.0
|
||||||
|
|
||||||
# homeassistant.components.sendgrid
|
# homeassistant.components.sendgrid
|
||||||
sendgrid==6.0.5
|
sendgrid==6.1.0
|
||||||
|
|
||||||
# homeassistant.components.sensehat
|
# homeassistant.components.sensehat
|
||||||
sense-hat==2.2.0
|
sense-hat==2.2.0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user