From bacc5495767e79fb81483370c79150cac666a835 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Tue, 3 Dec 2019 00:58:18 +0100 Subject: [PATCH] Move imports to top for plum_lightpad (#29324) --- homeassistant/components/plum_lightpad/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/plum_lightpad/__init__.py b/homeassistant/components/plum_lightpad/__init__.py index 67a3b60e8ba..bfdf67a0f40 100644 --- a/homeassistant/components/plum_lightpad/__init__.py +++ b/homeassistant/components/plum_lightpad/__init__.py @@ -2,6 +2,7 @@ import asyncio import logging +from plumlightpad import Plum import voluptuous as vol from homeassistant.const import CONF_PASSWORD, CONF_USERNAME, EVENT_HOMEASSISTANT_STOP @@ -30,7 +31,6 @@ PLUM_DATA = "plum" async def async_setup(hass, config): """Plum Lightpad Platform initialization.""" - from plumlightpad import Plum conf = config[DOMAIN] plum = Plum(conf[CONF_USERNAME], conf[CONF_PASSWORD])