Use relative imports inside integrations (#22235)
* Use relative imports inside integrations * Lint * Fix automation tests * Fix scene imports
This commit is contained in:
parent
ab17b22239
commit
4b1de61110
522 changed files with 1834 additions and 1725 deletions
|
@ -1,16 +1,17 @@
|
|||
"""Support for Luftdaten sensors."""
|
||||
import logging
|
||||
|
||||
from homeassistant.components.luftdaten import (
|
||||
DATA_LUFTDATEN, DATA_LUFTDATEN_CLIENT, DEFAULT_ATTRIBUTION, DOMAIN,
|
||||
SENSORS, TOPIC_UPDATE)
|
||||
from homeassistant.components.luftdaten.const import ATTR_SENSOR_ID
|
||||
from homeassistant.const import (
|
||||
ATTR_ATTRIBUTION, ATTR_LATITUDE, ATTR_LONGITUDE, CONF_SHOW_ON_MAP)
|
||||
from homeassistant.core import callback
|
||||
from homeassistant.helpers.dispatcher import async_dispatcher_connect
|
||||
from homeassistant.helpers.entity import Entity
|
||||
|
||||
from . import (
|
||||
DATA_LUFTDATEN, DATA_LUFTDATEN_CLIENT, DEFAULT_ATTRIBUTION, DOMAIN,
|
||||
SENSORS, TOPIC_UPDATE)
|
||||
from .const import ATTR_SENSOR_ID
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
DEPENDENCIES = ['luftdaten']
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue