Skip to content

Commit 584db57

Browse files
author
Franz646
committed
fix: import HomeAssistantView from .view submodule to avoid hassfest http dependency check
1 parent 8649c31 commit 584db57

2 files changed

Lines changed: 1 addition & 4 deletions

File tree

custom_components/orphan_cleaner/manifest.json

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,6 @@
11
{
22
"domain": "orphan_cleaner",
33
"name": "Orphan Entity Cleaner",
4-
"after_dependencies": [
5-
"http"
6-
],
74
"codeowners": [
85
"@Franz646"
96
],

custom_components/orphan_cleaner/panel_api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
import pathlib
1010

1111
from aiohttp import web
12-
from homeassistant.components.http import HomeAssistantView
12+
from homeassistant.components.http.view import HomeAssistantView
1313
from homeassistant.core import HomeAssistant
1414

1515
from .const import DOMAIN, CONF_MIN_AGE_HOURS, CONF_AGGRESSIVE, DEFAULT_MIN_AGE_HOURS, DEFAULT_AGGRESSIVE

0 commit comments

Comments
 (0)