Skip to content

Commit

Permalink
Use relative imports in yeelight (home-assistant#22839)
Browse files Browse the repository at this point in the history
  • Loading branch information
zewelor authored and pvizeli committed Apr 8, 2019
1 parent 236e484 commit c5d4b7c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion homeassistant/components/yeelight/binary_sensor.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
from homeassistant.components.binary_sensor import BinarySensorDevice
from homeassistant.core import callback
from homeassistant.helpers.dispatcher import async_dispatcher_connect
from homeassistant.components.yeelight import DATA_YEELIGHT, DATA_UPDATED
from . import DATA_YEELIGHT, DATA_UPDATED

DEPENDENCIES = ['yeelight']

Expand Down
2 changes: 1 addition & 1 deletion homeassistant/components/yeelight/light.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
SUPPORT_COLOR, SUPPORT_TRANSITION, SUPPORT_COLOR_TEMP, SUPPORT_FLASH,
SUPPORT_EFFECT, Light)
import homeassistant.util.color as color_util
from homeassistant.components.yeelight import (
from . import (
CONF_TRANSITION, DATA_YEELIGHT, CONF_MODE_MUSIC,
CONF_SAVE_ON_CHANGE, CONF_CUSTOM_EFFECTS, DATA_UPDATED,
YEELIGHT_SERVICE_SCHEMA, DOMAIN, ATTR_TRANSITIONS,
Expand Down

0 comments on commit c5d4b7c

Please sign in to comment.