mirror of
https://github.com/home-assistant/core.git
synced 2025-07-22 20:57:21 +00:00
Disable the calendar panel (#15282)
This commit is contained in:
parent
5ec61e4649
commit
857c58c4b7
@ -41,8 +41,9 @@ async def async_setup(hass, config):
|
|||||||
hass.http.register_view(CalendarListView(component))
|
hass.http.register_view(CalendarListView(component))
|
||||||
hass.http.register_view(CalendarEventView(component))
|
hass.http.register_view(CalendarEventView(component))
|
||||||
|
|
||||||
await hass.components.frontend.async_register_built_in_panel(
|
# Doesn't work in prod builds of the frontend: home-assistant-polymer#1289
|
||||||
'calendar', 'calendar', 'hass:calendar')
|
# await hass.components.frontend.async_register_built_in_panel(
|
||||||
|
# 'calendar', 'calendar', 'hass:calendar')
|
||||||
|
|
||||||
await component.async_setup(config)
|
await component.async_setup(config)
|
||||||
return True
|
return True
|
||||||
|
Loading…
x
Reference in New Issue
Block a user