Use relative imports in yeelight (#22839)

This commit is contained in:
zewelor 2019-04-07 16:07:15 +02:00 committed by Sebastian Muszynski
parent 842534d472
commit bb5c18f7be
2 changed files with 2 additions and 2 deletions

View File

@ -4,7 +4,7 @@ import logging
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']

View File

@ -15,7 +15,7 @@ from homeassistant.components.light import (
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,