Skip to content

Commit

Permalink
Remove async_setup
Browse files Browse the repository at this point in the history
  • Loading branch information
amosyuen committed Jul 20, 2023
1 parent 9f21394 commit ee0533b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions custom_components/tplink_deco/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@
from homeassistant.const import CONF_HOST
from homeassistant.const import CONF_PASSWORD
from homeassistant.const import CONF_USERNAME
from homeassistant.core import Config
from homeassistant.core import HomeAssistant
from homeassistant.core import ServiceCall
from homeassistant.helpers import device_registry
Expand Down Expand Up @@ -152,11 +151,6 @@ async def async_create_config_data(hass: HomeAssistant, config_entry: ConfigEntr
)


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, config_entry: ConfigEntry):
"""Set up this integration using UI."""
if hass.data.get(DOMAIN) is None:
Expand Down

0 comments on commit ee0533b

Please sign in to comment.