Skip to content

Commit

Permalink
Fix for issue Loading in HA 2024.11
Browse files Browse the repository at this point in the history
  • Loading branch information
mandarons committed Nov 5, 2024
1 parent c4b042c commit 3d94543
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions custom_components/bouncie/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,16 @@

from homeassistant.config_entries import ConfigEntry
from homeassistant.const import CONF_SCAN_INTERVAL, Platform
from homeassistant.core import Config, HomeAssistant
from homeassistant.core import HomeAssistant
from homeassistant.helpers.typing import ConfigType

from .const import DOMAIN, LOGGER, VEHICLE_MODEL_KEY
from .coordinator import BouncieDataUpdateCoordinator

PLATFORMS: list[Platform] = [Platform.SENSOR, Platform.DEVICE_TRACKER]


async def async_setup(hass: HomeAssistant, config: Config):
async def async_setup(hass: HomeAssistant, config: ConfigType) -> bool:
"""Set up this integration using YAML is not supported."""
return True

Expand Down

0 comments on commit 3d94543

Please sign in to comment.