Skip to content
Snippets Groups Projects
Commit df646f5d authored by Michał Mrozek's avatar Michał Mrozek Committed by Paulus Schoutsen
Browse files

Move imports in tikteck component (#27568)

* move imports in tikteck component

* fix: order of imports
parent 25bec133
No related branches found
No related tags found
No related merge requests found
"""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"]
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment