Update frontend to 20200620.0 and add redirects (#36953)
parent
60dd94d5b0
commit
7d69b90eac
|
@ -281,8 +281,13 @@ async def async_setup(hass, config):
|
|||
|
||||
# To smooth transition to new urls, add redirects to new urls of dev tools
|
||||
# Added June 27, 2019. Can be removed in 2021.
|
||||
for panel in ("event", "info", "service", "state", "template", "mqtt"):
|
||||
for panel in ("event", "service", "state", "template"):
|
||||
hass.http.register_redirect(f"/dev-{panel}", f"/developer-tools/{panel}")
|
||||
for panel in ("logs", "info", "mqtt"):
|
||||
# Can be removed in 2021.
|
||||
hass.http.register_redirect(f"/dev-{panel}", f"/config/{panel}")
|
||||
# Added June 20 2020. Can be removed in 2022.
|
||||
hass.http.register_redirect(f"/developer-tools/{panel}", f"/config/{panel}")
|
||||
|
||||
async_register_built_in_panel(
|
||||
hass,
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
"domain": "frontend",
|
||||
"name": "Home Assistant Frontend",
|
||||
"documentation": "https://www.home-assistant.io/integrations/frontend",
|
||||
"requirements": [
|
||||
"home-assistant-frontend==20200617.0"
|
||||
],
|
||||
"requirements": ["home-assistant-frontend==20200620.0"],
|
||||
"dependencies": [
|
||||
"api",
|
||||
"auth",
|
||||
|
@ -17,8 +15,6 @@
|
|||
"system_log",
|
||||
"websocket_api"
|
||||
],
|
||||
"codeowners": [
|
||||
"@home-assistant/frontend"
|
||||
],
|
||||
"codeowners": ["@home-assistant/frontend"],
|
||||
"quality_scale": "internal"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@ cryptography==2.9.2
|
|||
defusedxml==0.6.0
|
||||
distro==1.5.0
|
||||
hass-nabucasa==0.34.6
|
||||
home-assistant-frontend==20200617.0
|
||||
home-assistant-frontend==20200620.0
|
||||
importlib-metadata==1.6.0;python_version<'3.8'
|
||||
jinja2>=2.11.1
|
||||
netdisco==2.7.1
|
||||
|
|
|
@ -735,7 +735,7 @@ hole==0.5.1
|
|||
holidays==0.10.2
|
||||
|
||||
# homeassistant.components.frontend
|
||||
home-assistant-frontend==20200617.0
|
||||
home-assistant-frontend==20200620.0
|
||||
|
||||
# homeassistant.components.zwave
|
||||
homeassistant-pyozw==0.1.10
|
||||
|
|
|
@ -331,7 +331,7 @@ hole==0.5.1
|
|||
holidays==0.10.2
|
||||
|
||||
# homeassistant.components.frontend
|
||||
home-assistant-frontend==20200617.0
|
||||
home-assistant-frontend==20200620.0
|
||||
|
||||
# homeassistant.components.zwave
|
||||
homeassistant-pyozw==0.1.10
|
||||
|
|
Loading…
Reference in New Issue