Move imports in cisco_mobility_express component (#27877)
This commit is contained in:
parent
29ef49fdd9
commit
8cf443110a
1 changed files with 3 additions and 3 deletions
|
@ -1,9 +1,9 @@
|
|||
"""Support for Cisco Mobility Express."""
|
||||
import logging
|
||||
|
||||
from ciscomobilityexpress.ciscome import CiscoMobilityExpress
|
||||
import voluptuous as vol
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.components.device_tracker import (
|
||||
DOMAIN,
|
||||
PLATFORM_SCHEMA,
|
||||
|
@ -11,11 +11,12 @@ from homeassistant.components.device_tracker import (
|
|||
)
|
||||
from homeassistant.const import (
|
||||
CONF_HOST,
|
||||
CONF_USERNAME,
|
||||
CONF_PASSWORD,
|
||||
CONF_SSL,
|
||||
CONF_USERNAME,
|
||||
CONF_VERIFY_SSL,
|
||||
)
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
||||
|
@ -35,7 +36,6 @@ PLATFORM_SCHEMA = PLATFORM_SCHEMA.extend(
|
|||
|
||||
def get_scanner(hass, config):
|
||||
"""Validate the configuration and return a Cisco ME scanner."""
|
||||
from ciscomobilityexpress.ciscome import CiscoMobilityExpress
|
||||
|
||||
config = config[DOMAIN]
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue