diff --git a/custom_components/example_light/light.py b/custom_components/example_light/light.py index c85d051..93a7468 100644 --- a/custom_components/example_light/light.py +++ b/custom_components/example_light/light.py @@ -1,6 +1,7 @@ """Platform for light integration.""" import logging +import awesomelights import voluptuous as vol import homeassistant.helpers.config_validation as cv @@ -21,8 +22,6 @@ def setup_platform(hass, config, add_entities, discovery_info=None): """Set up the Awesome Light platform.""" - import awesomelights - # Assign configuration variables. # The configuration check takes care they are present. host = config[CONF_HOST]