mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 19:27:45 +00:00
Sort imports (#20984)
This commit is contained in:
parent
868820c424
commit
4cb408f8f9
@ -8,9 +8,9 @@ import asyncio
|
|||||||
from datetime import timedelta
|
from datetime import timedelta
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import voluptuous as vol
|
|
||||||
import attr
|
|
||||||
import aiohttp
|
import aiohttp
|
||||||
|
import attr
|
||||||
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import (
|
from homeassistant.const import (
|
||||||
CONF_HOST, CONF_PASSWORD, EVENT_HOMEASSISTANT_STOP)
|
CONF_HOST, CONF_PASSWORD, EVENT_HOMEASSISTANT_STOP)
|
||||||
@ -144,7 +144,7 @@ async def _retry_login(hass, modem_data, password):
|
|||||||
import eternalegypt
|
import eternalegypt
|
||||||
|
|
||||||
_LOGGER.warning(
|
_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
|
modem_data.connected = False
|
||||||
delay = 15
|
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
|
For more details about this platform, please refer to the documentation at
|
||||||
https://home-assistant.io/components/notify.netgear_lte/
|
https://home-assistant.io/components/notify.netgear_lte/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
import voluptuous as vol
|
|
||||||
import attr
|
import attr
|
||||||
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.components.notify import (
|
from homeassistant.components.notify import (
|
||||||
BaseNotificationService, ATTR_TARGET, PLATFORM_SCHEMA)
|
ATTR_TARGET, PLATFORM_SCHEMA, BaseNotificationService)
|
||||||
from homeassistant.const import CONF_HOST
|
from homeassistant.const import CONF_HOST
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
|
||||||
from ..netgear_lte import DATA_KEY
|
from ..netgear_lte import DATA_KEY
|
||||||
|
|
||||||
|
|
||||||
DEPENDENCIES = ['netgear_lte']
|
DEPENDENCIES = ['netgear_lte']
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_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
|
For more details about this platform, please refer to the documentation at
|
||||||
https://home-assistant.io/components/sensor.netgear_lte/
|
https://home-assistant.io/components/sensor.netgear_lte/
|
||||||
"""
|
"""
|
||||||
|
|
||||||
import voluptuous as vol
|
|
||||||
import attr
|
import attr
|
||||||
|
import voluptuous as vol
|
||||||
|
|
||||||
from homeassistant.const import CONF_HOST, CONF_SENSORS
|
|
||||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||||
|
from homeassistant.const import CONF_HOST, CONF_SENSORS
|
||||||
from homeassistant.exceptions import PlatformNotReady
|
from homeassistant.exceptions import PlatformNotReady
|
||||||
from homeassistant.helpers.entity import Entity
|
|
||||||
import homeassistant.helpers.config_validation as cv
|
import homeassistant.helpers.config_validation as cv
|
||||||
|
from homeassistant.helpers.entity import Entity
|
||||||
|
|
||||||
from ..netgear_lte import DATA_KEY
|
from ..netgear_lte import DATA_KEY
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user