Skip to content

Commit

Permalink
Change from homeassistant.core_config.Config to from homeassistant.he…
Browse files Browse the repository at this point in the history
…lpers.typing.ConfigType
  • Loading branch information
Sian-Lee-SA committed Nov 4, 2024
1 parent 3a77740 commit b145053
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions custom_components/switch_manager/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
from .schema import BLUEPRINT_MQTT_SCHEMA, BLUEPRINT_EVENT_SCHEMA, SERVICE_SET_VARIABLES_SCHEMA
from .connections import async_setup_connections
from homeassistant.core import HomeAssistant, callback
from homeassistant.core_config import Config
from homeassistant.config import format_schema_error
from homeassistant.helpers import issue_registry as ir
from homeassistant.helpers.typing import ConfigType

async def async_setup( hass: HomeAssistant, config: Config ):
async def async_setup( hass: HomeAssistant, config: ConfigType ):
"""Set up is called when Home Assistant is loading our component."""

hass.data.setdefault(DOMAIN, {})
Expand Down

0 comments on commit b145053

Please sign in to comment.