Import notify constants from root (#78244)

This commit is contained in:
epenet 2022-09-12 18:07:26 +02:00 committed by GitHub
parent 1fb5800bdf
commit 4dcbe3e608
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -7,12 +7,12 @@ import logging
from aiobotocore.session import AioSession
from homeassistant.components.notify import (
ATTR_DATA,
ATTR_TARGET,
ATTR_TITLE,
ATTR_TITLE_DEFAULT,
BaseNotificationService,
)
from homeassistant.components.notify.const import ATTR_DATA
from homeassistant.const import (
CONF_NAME,
CONF_PLATFORM,

View File

@ -7,12 +7,12 @@ from typing import Any
from simplepush import BadRequest, UnknownError, send, send_encrypted
from homeassistant.components.notify import (
ATTR_DATA,
ATTR_TITLE,
ATTR_TITLE_DEFAULT,
PLATFORM_SCHEMA as BASE_PLATFORM_SCHEMA,
BaseNotificationService,
)
from homeassistant.components.notify.const import ATTR_DATA
from homeassistant.const import CONF_EVENT, CONF_PASSWORD
from homeassistant.core import HomeAssistant
from homeassistant.helpers.issue_registry import IssueSeverity, async_create_issue