Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move imports to top for iglo #29424

Merged
merged 1 commit into from Dec 4, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions homeassistant/components/iglo/light.py
Expand Up @@ -2,18 +2,19 @@
import logging
import math

from iglo import Lamp
import voluptuous as vol

from homeassistant.components.light import (
ATTR_BRIGHTNESS,
ATTR_COLOR_TEMP,
ATTR_EFFECT,
ATTR_HS_COLOR,
PLATFORM_SCHEMA,
SUPPORT_BRIGHTNESS,
SUPPORT_COLOR_TEMP,
SUPPORT_COLOR,
SUPPORT_COLOR_TEMP,
SUPPORT_EFFECT,
PLATFORM_SCHEMA,
Light,
)
from homeassistant.const import CONF_HOST, CONF_NAME, CONF_PORT
Expand Down Expand Up @@ -47,7 +48,6 @@ class IGloLamp(Light):

def __init__(self, name, host, port):
"""Initialize the light."""
from iglo import Lamp

self._name = name
self._lamp = Lamp(0, host, port)
Expand Down