Sort imports according to PEP8 for components starting with "D" (#29764)

* use isort to sort imports for components starting with 'd'

* fix isort mistake
This commit is contained in:
Bas Nijholt 2019-12-09 17:42:00 +01:00 committed by Franck Nijhof
parent c804f8f961
commit 08f128e9c7
21 changed files with 87 additions and 85 deletions

View file

@ -1,13 +1,13 @@
"""Support for Adafruit DHT temperature and humidity sensor."""
import logging
from datetime import timedelta
import logging
import Adafruit_DHT # pylint: disable=import-error
import voluptuous as vol
from homeassistant.components.sensor import PLATFORM_SCHEMA
from homeassistant.const import CONF_MONITORED_CONDITIONS, CONF_NAME, TEMP_FAHRENHEIT
import homeassistant.helpers.config_validation as cv
from homeassistant.const import TEMP_FAHRENHEIT, CONF_NAME, CONF_MONITORED_CONDITIONS
from homeassistant.helpers.entity import Entity
from homeassistant.util import Throttle
from homeassistant.util.temperature import celsius_to_fahrenheit