Skip to content

Commit

Permalink
Sort imports (#20984)
Browse files Browse the repository at this point in the history
  • Loading branch information
fabaff authored and cgarwood committed Feb 11, 2019
1 parent 868820c commit 4cb408f
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 13 deletions.
6 changes: 3 additions & 3 deletions homeassistant/components/netgear_lte/__init__.py
Expand Up @@ -8,9 +8,9 @@
from datetime import timedelta
import logging

import voluptuous as vol
import attr
import aiohttp
import attr
import voluptuous as vol

from homeassistant.const import (
CONF_HOST, CONF_PASSWORD, EVENT_HOMEASSISTANT_STOP)
Expand Down Expand Up @@ -144,7 +144,7 @@ async def _retry_login(hass, modem_data, password):
import eternalegypt

_LOGGER.warning(
"Could not connect to %s. Will keep trying.", modem_data.host)
"Could not connect to %s. Will keep trying", modem_data.host)

modem_data.connected = False
delay = 15
Expand Down
9 changes: 4 additions & 5 deletions homeassistant/components/netgear_lte/notify.py
@@ -1,22 +1,21 @@
"""Netgear LTE platform for notify component.
"""
The Netgear LTE platform for notify component.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/notify.netgear_lte/
"""

import logging

import voluptuous as vol
import attr
import voluptuous as vol

from homeassistant.components.notify import (
BaseNotificationService, ATTR_TARGET, PLATFORM_SCHEMA)
ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService)
from homeassistant.const import CONF_HOST
import homeassistant.helpers.config_validation as cv

from ..netgear_lte import DATA_KEY


DEPENDENCIES = ['netgear_lte']

_LOGGER = logging.getLogger(__name__)
Expand Down
10 changes: 5 additions & 5 deletions homeassistant/components/netgear_lte/sensor.py
@@ -1,17 +1,17 @@
"""Netgear LTE sensors.
"""
Support for Netgear LTE sensors.
For more details about this platform, please refer to the documentation at
https://home-assistant.io/components/sensor.netgear_lte/
"""

import voluptuous as vol
import attr
import voluptuous as vol

from homeassistant.const import CONF_HOST, CONF_SENSORS
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import CONF_HOST, CONF_SENSORS
from homeassistant.exceptions import PlatformNotReady
from homeassistant.helpers.entity import Entity
import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.entity import Entity

from ..netgear_lte import DATA_KEY

Expand Down

0 comments on commit 4cb408f

Please sign in to comment.