Finish update of integrations to import issue_registry from helpers (#77473)
This commit is contained in:
parent
d47edd5a34
commit
2e3a2d29e5
3 changed files with 2 additions and 8 deletions
|
@ -2,7 +2,7 @@
|
||||||
"domain": "automation",
|
"domain": "automation",
|
||||||
"name": "Automation",
|
"name": "Automation",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/automation",
|
"documentation": "https://www.home-assistant.io/integrations/automation",
|
||||||
"dependencies": ["blueprint", "repairs", "trace"],
|
"dependencies": ["blueprint", "trace"],
|
||||||
"after_dependencies": ["device_automation", "webhook"],
|
"after_dependencies": ["device_automation", "webhook"],
|
||||||
"codeowners": ["@home-assistant/core"],
|
"codeowners": ["@home-assistant/core"],
|
||||||
"quality_scale": "internal"
|
"quality_scale": "internal"
|
||||||
|
|
|
@ -13,8 +13,7 @@ from homeassistant.helpers.integration_platform import (
|
||||||
)
|
)
|
||||||
|
|
||||||
# pylint: disable-next=unused-import
|
# pylint: disable-next=unused-import
|
||||||
from homeassistant.helpers.issue_registry import ( # noqa: F401; Remove when integrations have been updated
|
from homeassistant.helpers.issue_registry import (
|
||||||
async_create_issue,
|
|
||||||
async_delete_issue,
|
async_delete_issue,
|
||||||
async_get as async_get_issue_registry,
|
async_get as async_get_issue_registry,
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,11 +6,6 @@ from typing import Protocol
|
||||||
from homeassistant import data_entry_flow
|
from homeassistant import data_entry_flow
|
||||||
from homeassistant.core import HomeAssistant
|
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):
|
class RepairsFlow(data_entry_flow.FlowHandler):
|
||||||
"""Handle a flow for fixing an issue."""
|
"""Handle a flow for fixing an issue."""
|
||||||
|
|
Loading…
Add table
Reference in a new issue