From f8ffcd6cafdca9e0e21cea52521d165eebf62626 Mon Sep 17 00:00:00 2001 From: springstan <46536646+springstan@users.noreply.github.com> Date: Wed, 4 Dec 2019 00:15:42 +0100 Subject: [PATCH] Move imports to top for opple (#29372) --- homeassistant/components/opple/light.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homeassistant/components/opple/light.py b/homeassistant/components/opple/light.py index 5a6657a323d..9ee53704d10 100644 --- a/homeassistant/components/opple/light.py +++ b/homeassistant/components/opple/light.py @@ -1,6 +1,7 @@ """Support for the Opple light.""" import logging +from pyoppleio.OppleLightDevice import OppleLightDevice import voluptuous as vol from homeassistant.components.light import ( @@ -46,7 +47,6 @@ class OppleLight(Light): def __init__(self, name, host): """Initialize an Opple light.""" - from pyoppleio.OppleLightDevice import OppleLightDevice self._device = OppleLightDevice(host)