Skip to content

Commit

Permalink
Fix 2024.3
Browse files Browse the repository at this point in the history
  • Loading branch information
Sian-Lee-SA committed Mar 7, 2024
1 parent d489479 commit 53bf8b2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion custom_components/switch_manager/view.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
from .const import DOMAIN, CONF_BLUEPRINTS, BLUEPRINTS_FOLDER, PANEL_URL, NAME
from .helpers import VERSION
from homeassistant.core import HomeAssistant
from homeassistant.components.frontend import async_register_built_in_panel

async def async_setup_view(hass: HomeAssistant):

Expand All @@ -11,7 +12,7 @@ async def async_setup_view(hass: HomeAssistant):

await async_bind_blueprint_images(hass)

hass.components.frontend.async_register_built_in_panel(
async_register_built_in_panel(hass,
component_name="custom",
sidebar_title=NAME,
sidebar_icon="mdi:light-switch-off",
Expand Down

0 comments on commit 53bf8b2

Please sign in to comment.