From 2e3a2d29e528fe95287c28d78df1aa24c1d59133 Mon Sep 17 00:00:00 2001 From: Erik Montnemery Date: Mon, 29 Aug 2022 15:52:17 +0200 Subject: [PATCH] Finish update of integrations to import issue_registry from helpers (#77473) --- homeassistant/components/automation/manifest.json | 2 +- homeassistant/components/repairs/issue_handler.py | 3 +-- homeassistant/components/repairs/models.py | 5 ----- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/homeassistant/components/automation/manifest.json b/homeassistant/components/automation/manifest.json index 6d1e4ee6027..9dd0130ee2f 100644 --- a/homeassistant/components/automation/manifest.json +++ b/homeassistant/components/automation/manifest.json @@ -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" diff --git a/homeassistant/components/repairs/issue_handler.py b/homeassistant/components/repairs/issue_handler.py index 1201497f0c1..35a8d9cc49d 100644 --- a/homeassistant/components/repairs/issue_handler.py +++ b/homeassistant/components/repairs/issue_handler.py @@ -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, ) diff --git a/homeassistant/components/repairs/models.py b/homeassistant/components/repairs/models.py index 045b7bd55dc..6ae175b29e9 100644 --- a/homeassistant/components/repairs/models.py +++ b/homeassistant/components/repairs/models.py @@ -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."""