diff --git a/custom_components/generac/__init__.py b/custom_components/generac/__init__.py index 0e611cf..fe0b336 100644 --- a/custom_components/generac/__init__.py +++ b/custom_components/generac/__init__.py @@ -9,7 +9,6 @@ from datetime import timedelta from homeassistant.config_entries import ConfigEntry -from homeassistant.core import Config from homeassistant.core import HomeAssistant from homeassistant.exceptions import ConfigEntryNotReady from homeassistant.helpers.aiohttp_client import async_get_clientsession @@ -27,11 +26,6 @@ _LOGGER: logging.Logger = logging.getLogger(__package__) -async def async_setup(hass: HomeAssistant, config: Config): - """Set up this integration using YAML is not supported.""" - return True - - async def async_setup_entry(hass: HomeAssistant, entry: ConfigEntry): """Set up this integration using UI.""" if hass.data.get(DOMAIN) is None: