Move imports in tikteck component (#27568)
* move imports in tikteck component * fix: order of imports
This commit is contained in:
parent
25bec13335
commit
df646f5db1
1 changed files with 3 additions and 3 deletions
|
@ -1,17 +1,18 @@
|
|||
"""Support for Tikteck lights."""
|
||||
import logging
|
||||
|
||||
import tikteck
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.const import CONF_DEVICES, CONF_NAME, CONF_PASSWORD
|
||||
from homeassistant.components.light import (
|
||||
ATTR_BRIGHTNESS,
|
||||
ATTR_HS_COLOR,
|
||||
PLATFORM_SCHEMA,
|
||||
SUPPORT_BRIGHTNESS,
|
||||
SUPPORT_COLOR,
|
||||
Light,
|
||||
PLATFORM_SCHEMA,
|
||||
)
|
||||
from homeassistant.const import CONF_DEVICES, CONF_NAME, CONF_PASSWORD
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
import homeassistant.util.color as color_util
|
||||
|
||||
|
@ -48,7 +49,6 @@ class TikteckLight(Light):
|
|||
|
||||
def __init__(self, device):
|
||||
"""Initialize the light."""
|
||||
import tikteck
|
||||
|
||||
self._name = device["name"]
|
||||
self._address = device["address"]
|
||||
|
|
Loading…
Add table
Reference in a new issue