Skip to content

Commit

Permalink
test registered views
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Dec 12, 2024
1 parent d3710cf commit d0390aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion custom_components/eltako/eltako_integration_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
sidebar_icon="mdi:view-dashboard", # Icon for the sidebar
frontend_url_path="eltako-info", # URL in the sidebar
config={
"url": "/eltako/info" # URL served by the view
"url": "/eltako-info" # URL served by the view
},
)

Expand Down
2 changes: 1 addition & 1 deletion custom_components/eltako/front_end/info_page_view.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
class InfoPageView(HomeAssistantView):
"""Serve a custom page."""

url = "/eltako/info"
url = "/eltako-info"
name = "eltako-info"
requires_auth = True

Expand Down

0 comments on commit d0390aa

Please sign in to comment.