Skip to content

Commit

Permalink
Config flow warning (#39)
Browse files Browse the repository at this point in the history
Fixes warning about missing PLATFORM_SCHEMA for config flow validation
  • Loading branch information
Tyler Carr authored Apr 13, 2024
1 parent 1d23b8c commit 9acdad0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions custom_components/noaa_space_weather/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
from homeassistant.config_entries import ConfigEntry
from homeassistant.core import Config
from homeassistant.core import HomeAssistant
from homeassistant.helpers import config_validation as cv
from homeassistant.exceptions import ConfigEntryNotReady
from homeassistant.helpers.aiohttp_client import async_get_clientsession
from homeassistant.helpers.update_coordinator import DataUpdateCoordinator
Expand All @@ -26,6 +27,8 @@

_LOGGER: logging.Logger = logging.getLogger(__package__)

PLATFORM_SCHEMA = cv.platform_only_config_schema(DOMAIN)


async def async_setup(hass: HomeAssistant, config: Config):
"""Set up this integration using YAML is not supported."""
Expand Down

0 comments on commit 9acdad0

Please sign in to comment.