From a616427cd63e6675866cedfb3831e7667600da5e Mon Sep 17 00:00:00 2001 From: Bram Kragten Date: Tue, 14 Jul 2020 11:25:24 +0200 Subject: [PATCH] Frontend: deprecate `extra_html_url` https://github.com/home-assistant/frontend/issues/6028 --- homeassistant/components/frontend/__init__.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/homeassistant/components/frontend/__init__.py b/homeassistant/components/frontend/__init__.py index 40ebee220bca90..b8d574fb6a04f3 100644 --- a/homeassistant/components/frontend/__init__.py +++ b/homeassistant/components/frontend/__init__.py @@ -85,6 +85,8 @@ CONFIG_SCHEMA = vol.Schema( { DOMAIN: vol.Schema( + cv.deprecated(CONF_EXTRA_HTML_URL, invalidation_version="0.115"), + cv.deprecated(CONF_EXTRA_HTML_URL_ES5, invalidation_version="0.115"), { vol.Optional(CONF_FRONTEND_REPO): cv.isdir, vol.Optional(CONF_THEMES): vol.Schema( @@ -100,7 +102,7 @@ # We no longer use these options. vol.Optional(CONF_EXTRA_HTML_URL_ES5): cv.match_all, vol.Optional(CONF_JS_VERSION): cv.match_all, - } + }, ) }, extra=vol.ALLOW_EXTRA,