Sort imports (#20984)
This commit is contained in:
parent
868820c424
commit
4cb408f8f9
3 changed files with 12 additions and 13 deletions
|
@ -8,9 +8,9 @@ import asyncio
|
|||
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)
|
||||
|
@ -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
|
||||
|
|
|
@ -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__)
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue