Sort imports according to PEP8 for components starting with "Y" (#29783)
This commit is contained in:
parent
4035fda659
commit
9bcd4653e0
12 changed files with 41 additions and 44 deletions
|
@ -1,23 +1,21 @@
|
|||
"""Support for Yr.no weather service."""
|
||||
import asyncio
|
||||
import logging
|
||||
|
||||
from random import randrange
|
||||
from xml.parsers.expat import ExpatError
|
||||
|
||||
import aiohttp
|
||||
import async_timeout
|
||||
import xmltodict
|
||||
import voluptuous as vol
|
||||
import xmltodict
|
||||
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.components.sensor import PLATFORM_SCHEMA
|
||||
from homeassistant.const import (
|
||||
ATTR_ATTRIBUTION,
|
||||
CONF_ELEVATION,
|
||||
CONF_LATITUDE,
|
||||
CONF_LONGITUDE,
|
||||
CONF_ELEVATION,
|
||||
CONF_MONITORED_CONDITIONS,
|
||||
ATTR_ATTRIBUTION,
|
||||
CONF_NAME,
|
||||
DEVICE_CLASS_HUMIDITY,
|
||||
DEVICE_CLASS_PRESSURE,
|
||||
|
@ -26,8 +24,9 @@ from homeassistant.const import (
|
|||
TEMP_CELSIUS,
|
||||
)
|
||||
from homeassistant.helpers.aiohttp_client import async_get_clientsession
|
||||
import homeassistant.helpers.config_validation as cv
|
||||
from homeassistant.helpers.entity import Entity
|
||||
from homeassistant.helpers.event import async_track_utc_time_change, async_call_later
|
||||
from homeassistant.helpers.event import async_call_later, async_track_utc_time_change
|
||||
from homeassistant.util import dt as dt_util
|
||||
|
||||
_LOGGER = logging.getLogger(__name__)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue