From 1e3a3d32ad69b17fa01030462ba8fad61305d2e6 Mon Sep 17 00:00:00 2001 From: Marc Mueller <30130371+cdce8p@users.noreply.github.com> Date: Tue, 27 Sep 2022 02:38:19 +0200 Subject: [PATCH] Use explicit return value in frontend (#79122) --- homeassistant/components/frontend/__init__.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 188ecb8ff98..40989f41f19 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -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."""