Finish update of integrations to import issue_registry from helpers (#77473)

This commit is contained in:
Erik Montnemery 2022-08-29 15:52:17 +02:00 committed by GitHub
parent d47edd5a34
commit 2e3a2d29e5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 2 additions and 8 deletions

View file

@ -2,7 +2,7 @@
"domain": "automation",
"name": "Automation",
"documentation": "https://www.home-assistant.io/integrations/automation",
"dependencies": ["blueprint", "repairs", "trace"],
"dependencies": ["blueprint", "trace"],
"after_dependencies": ["device_automation", "webhook"],
"codeowners": ["@home-assistant/core"],
"quality_scale": "internal"

View file

@ -13,8 +13,7 @@ from homeassistant.helpers.integration_platform import (
)
# pylint: disable-next=unused-import
from homeassistant.helpers.issue_registry import ( # noqa: F401; Remove when integrations have been updated
async_create_issue,
from homeassistant.helpers.issue_registry import (
async_delete_issue,
async_get as async_get_issue_registry,
)

View file

@ -6,11 +6,6 @@ from typing import Protocol
from homeassistant import data_entry_flow
from homeassistant.core import HomeAssistant
# pylint: disable-next=unused-import
from homeassistant.helpers.issue_registry import ( # noqa: F401; Remove when integrations have been updated
IssueSeverity,
)
class RepairsFlow(data_entry_flow.FlowHandler):
"""Handle a flow for fixing an issue."""