1
0
mirror of https://github.com/home-assistant/core.git synced 2025-12-24 21:06:19 +00:00

Dynamic panels (#24184)

* Don't require all panel urls to be registered

* Allow removing panels, fire event when panels updated
This commit is contained in:
Paulus Schoutsen
2019-05-30 04:37:01 -07:00
committed by Pascal Vizeli
parent 59ce31f44f
commit 1a3a38d370
14 changed files with 133 additions and 58 deletions

View File

@@ -61,7 +61,7 @@ class HassIOAddonPanel(HomeAssistantView):
async def delete(self, request, addon):
"""Handle remove add-on panel requests."""
# Currently not supported by backend / frontend
self.hass.components.frontend.async_remove_panel(addon)
return web.Response()
async def get_panels(self):