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,13 +1,13 @@
|
||||
"""Support for the GPSLogger device tracking."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.device_tracker import DOMAIN as \
|
||||
DEVICE_TRACKER_DOMAIN
|
||||
from homeassistant.components.gpslogger import DOMAIN as GPSLOGGER_DOMAIN, \
|
||||
TRACKER_UPDATE
|
||||
from homeassistant.components.device_tracker import (
|
||||
DOMAIN as DEVICE_TRACKER_DOMAIN)
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
from homeassistant.helpers.typing import HomeAssistantType
|
||||
|
||||
from . import DOMAIN as GPSLOGGER_DOMAIN, TRACKER_UPDATE
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
DEPENDENCIES = ['gpslogger']
|
||||
|
||||
Reference in new issue
Block a user