diff --git a/homeassistant/components/hue/device_trigger.py b/homeassistant/components/hue/device_trigger.py index f3a8a57167a..8a4b2eab714 100644 --- a/homeassistant/components/hue/device_trigger.py +++ b/homeassistant/components/hue/device_trigger.py @@ -14,10 +14,11 @@ from homeassistant.const import ( CONF_EVENT, CONF_PLATFORM, CONF_TYPE, + CONF_UNIQUE_ID, ) from . import DOMAIN -from .hue_event import CONF_HUE_EVENT, CONF_UNIQUE_ID +from .hue_event import CONF_HUE_EVENT _LOGGER = logging.getLogger(__file__) diff --git a/homeassistant/components/hue/hue_event.py b/homeassistant/components/hue/hue_event.py index d3d81a6a7af..28c6ac3a594 100644 --- a/homeassistant/components/hue/hue_event.py +++ b/homeassistant/components/hue/hue_event.py @@ -3,7 +3,7 @@ import logging from aiohue.sensors import TYPE_ZGP_SWITCH, TYPE_ZLL_ROTARY, TYPE_ZLL_SWITCH -from homeassistant.const import CONF_EVENT, CONF_ID +from homeassistant.const import CONF_EVENT, CONF_ID, CONF_UNIQUE_ID from homeassistant.core import callback from homeassistant.util import slugify @@ -13,7 +13,6 @@ _LOGGER = logging.getLogger(__name__) CONF_HUE_EVENT = "hue_event" CONF_LAST_UPDATED = "last_updated" -CONF_UNIQUE_ID = "unique_id" EVENT_NAME_FORMAT = "{}"