Use explicit return value in frontend (#79122)

This commit is contained in:
Marc Mueller 2022-09-27 02:38:19 +02:00 committed by GitHub
parent 50e732d00f
commit 1e3a3d32ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -548,11 +548,9 @@ class IndexView(web_urldispatcher.AbstractResource):
"""Return a dict with additional info useful for introspection."""
return {"panels": list(self.hass.data[DATA_PANELS])}
def freeze(self) -> None:
"""Freeze the resource."""
def raw_match(self, path: str) -> bool:
"""Perform a raw match against path."""
return False
def get_template(self) -> jinja2.Template:
"""Get template."""