Use relative imports inside integrations (#22235)
* Use relative imports inside integrations * Lint * Fix automation tests * Fix scene imports
This commit is contained in:
1 parent
ab17b22239
commit
4b1de61110
522 files changed
+1834
-1725
No files matched your search
@@ -1,15 +1,14 @@
|
||||
"""Support for IHC lights."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.ihc import IHC_CONTROLLER, IHC_DATA, IHC_INFO
|
||||
from homeassistant.components.ihc.const import (
|
||||
CONF_DIMMABLE, CONF_OFF_ID, CONF_ON_ID)
|
||||
from homeassistant.components.ihc.util import (
|
||||
async_pulse, async_set_bool, async_set_int)
|
||||
from homeassistant.components.ihc.ihcdevice import IHCDevice
|
||||
from homeassistant.components.light import (
|
||||
ATTR_BRIGHTNESS, SUPPORT_BRIGHTNESS, Light)
|
||||
|
||||
from . import IHC_CONTROLLER, IHC_DATA, IHC_INFO
|
||||
from .const import CONF_DIMMABLE, CONF_OFF_ID, CONF_ON_ID
|
||||
from .ihcdevice import IHCDevice
|
||||
from .util import async_pulse, async_set_bool, async_set_int
|
||||
|
||||
DEPENDENCIES = ['ihc']
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
Reference in new issue
Block a user