Skip to content

Commit

Permalink
Merge pull request #41 from bentekkie/fix/removeyaml
Browse files Browse the repository at this point in the history
Remove unused yaml config method
  • Loading branch information
bentekkie authored Aug 13, 2023
2 parents 51bce90 + f5d23be commit 7851126
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions custom_components/generac/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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:
Expand Down

0 comments on commit 7851126

Please sign in to comment.