Skip to content

Commit

Permalink
webpage test
Browse files Browse the repository at this point in the history
  • Loading branch information
grimmpp committed Dec 16, 2024
1 parent 1dd3476 commit fd2ed27
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions custom_components/eltako/eltako_integration_init.py
Original file line number Diff line number Diff line change
Expand Up @@ -210,18 +210,18 @@ async def async_setup_entry(hass: HomeAssistant, config_entry: ConfigEntry) -> b
# require_admin=False,
# )

# hass.http.register_view(InfoPageView())

# # Register the sidebar panel
# hass.components.frontend.async_register_built_in_panel(
# component_name="iframe", # Use iframe to embed the view
# sidebar_title="Eltako", # Title in the sidebar
# sidebar_icon="mdi:view-dashboard", # Icon for the sidebar
# frontend_url_path="eltako", # URL in the sidebar
# config={
# "url": "/eltako?auth_callback=1" # URL served by the view
# },
# )
hass.http.register_view(InfoPageView())

# Register the sidebar panel
hass.components.frontend.async_register_built_in_panel(
component_name="iframe", # Use iframe to embed the view
sidebar_title="Eltako", # Title in the sidebar
sidebar_icon="mdi:view-dashboard", # Icon for the sidebar
frontend_url_path="eltako", # URL in the sidebar
config={
"url": "/eltako?auth_callback=1" # URL served by the view
},
)

# await panel_custom.async_register_panel(
# hass=hass,
Expand Down

0 comments on commit fd2ed27

Please sign in to comment.