mirror of
https://github.com/home-assistant/core.git
synced 2025-07-20 03:37:07 +00:00
Update frontend to 20200620.0 and add redirects (#36953)
This commit is contained in:
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
|
# To smooth transition to new urls, add redirects to new urls of dev tools
|
||||||
# Added June 27, 2019. Can be removed in 2021.
|
# 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}")
|
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(
|
async_register_built_in_panel(
|
||||||
hass,
|
hass,
|
||||||
|
@ -2,9 +2,7 @@
|
|||||||
"domain": "frontend",
|
"domain": "frontend",
|
||||||
"name": "Home Assistant Frontend",
|
"name": "Home Assistant Frontend",
|
||||||
"documentation": "https://www.home-assistant.io/integrations/frontend",
|
"documentation": "https://www.home-assistant.io/integrations/frontend",
|
||||||
"requirements": [
|
"requirements": ["home-assistant-frontend==20200620.0"],
|
||||||
"home-assistant-frontend==20200617.0"
|
|
||||||
],
|
|
||||||
"dependencies": [
|
"dependencies": [
|
||||||
"api",
|
"api",
|
||||||
"auth",
|
"auth",
|
||||||
@ -17,8 +15,6 @@
|
|||||||
"system_log",
|
"system_log",
|
||||||
"websocket_api"
|
"websocket_api"
|
||||||
],
|
],
|
||||||
"codeowners": [
|
"codeowners": ["@home-assistant/frontend"],
|
||||||
"@home-assistant/frontend"
|
|
||||||
],
|
|
||||||
"quality_scale": "internal"
|
"quality_scale": "internal"
|
||||||
}
|
}
|
@ -12,7 +12,7 @@ cryptography==2.9.2
|
|||||||
defusedxml==0.6.0
|
defusedxml==0.6.0
|
||||||
distro==1.5.0
|
distro==1.5.0
|
||||||
hass-nabucasa==0.34.6
|
hass-nabucasa==0.34.6
|
||||||
home-assistant-frontend==20200617.0
|
home-assistant-frontend==20200620.0
|
||||||
importlib-metadata==1.6.0;python_version<'3.8'
|
importlib-metadata==1.6.0;python_version<'3.8'
|
||||||
jinja2>=2.11.1
|
jinja2>=2.11.1
|
||||||
netdisco==2.7.1
|
netdisco==2.7.1
|
||||||
|
@ -735,7 +735,7 @@ hole==0.5.1
|
|||||||
holidays==0.10.2
|
holidays==0.10.2
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20200617.0
|
home-assistant-frontend==20200620.0
|
||||||
|
|
||||||
# homeassistant.components.zwave
|
# homeassistant.components.zwave
|
||||||
homeassistant-pyozw==0.1.10
|
homeassistant-pyozw==0.1.10
|
||||||
|
@ -331,7 +331,7 @@ hole==0.5.1
|
|||||||
holidays==0.10.2
|
holidays==0.10.2
|
||||||
|
|
||||||
# homeassistant.components.frontend
|
# homeassistant.components.frontend
|
||||||
home-assistant-frontend==20200617.0
|
home-assistant-frontend==20200620.0
|
||||||
|
|
||||||
# homeassistant.components.zwave
|
# homeassistant.components.zwave
|
||||||
homeassistant-pyozw==0.1.10
|
homeassistant-pyozw==0.1.10
|
||||||
|
Loading…
x
Reference in New Issue
Block a user