mirror of
https://github.com/home-assistant/core.git
synced 2025-08-03 12:45:28 +02:00
Activate Calendar Panel (#35276)
This commit is contained in:
@@ -35,9 +35,9 @@ async def async_setup(hass, config):
|
||||
hass.http.register_view(CalendarListView(component))
|
||||
hass.http.register_view(CalendarEventView(component))
|
||||
|
||||
# Doesn't work in prod builds of the frontend: home-assistant-polymer#1289
|
||||
# hass.components.frontend.async_register_built_in_panel(
|
||||
# 'calendar', 'calendar', 'hass:calendar')
|
||||
hass.components.frontend.async_register_built_in_panel(
|
||||
"calendar", "calendar", "hass:calendar"
|
||||
)
|
||||
|
||||
await component.async_setup(config)
|
||||
return True
|
||||
|
Reference in New Issue
Block a user