91 files
This commit is contained in:
1 parent
d125a48b04
commit
8c53907c88
91 files changed
+1232
-387
No files matched your search
@@ -7,7 +7,14 @@ import logging
|
||||
from pathlib import Path
|
||||
|
||||
from homeassistant.components import frontend, panel_custom
|
||||
from homeassistant.components.http import StaticPathConfig
|
||||
|
||||
# HA 2026.8 moved StaticPathConfig into http/server.py and keeps a deliberate
|
||||
# re-export in the package root, so this import is valid at runtime on 2026.7
|
||||
# and 2026.8 alike. Strict mypy rejects re-exported names regardless; importing
|
||||
# from .server would satisfy it but break every user still on 2026.7, which has
|
||||
# no such module. Reads as unused under the older HA in the dev container —
|
||||
# three other ignores in this codebase share that fate.
|
||||
from homeassistant.components.http import StaticPathConfig # type: ignore[attr-defined]
|
||||
from homeassistant.core import HomeAssistant
|
||||
|
||||
from .const import DOMAIN, PANEL_ICON, PANEL_NAME, PANEL_URL
|
||||
|
||||
Reference in new issue
Block a user