Sort imports according to PEP8 for components starting with "Z" (#29784)

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

* add skip to end of zha/core/channels/__init__.py

* put 'pylint: disable=import-error' at the right place

* remove the import of config_flow in zha/__init__.py

According to @balloob it is no longer needed.

* revert previous commit

* isort:skip homeassistant/components/zha/__init__.py completely
This commit is contained in:
Bas Nijholt authored and Franck Nijhof committed 2019-12-09 18:54:54 +01:00
1 parent 6b6570e7ca
commit 6cc75fc6f3
10 files changed
+41 -40

No files matched your search

+8 -8
View File
@@ -1,24 +1,24 @@
"""Support for Zigbee devices."""
import logging
from binascii import hexlify, unhexlify
import logging
import xbee_helper.const as xb_const
from xbee_helper import ZigBee
from xbee_helper.device import convert_adc
from xbee_helper.exceptions import ZigBeeException, ZigBeeTxFailure
from serial import Serial, SerialException
import voluptuous as vol
from xbee_helper import ZigBee
import xbee_helper.const as xb_const
from xbee_helper.device import convert_adc
from xbee_helper.exceptions import ZigBeeException, ZigBeeTxFailure
from homeassistant.const import (
EVENT_HOMEASSISTANT_STOP,
CONF_ADDRESS,
CONF_DEVICE,
CONF_NAME,
CONF_PIN,
CONF_ADDRESS,
EVENT_HOMEASSISTANT_STOP,
)
from homeassistant.helpers.entity import Entity
from homeassistant.helpers import config_validation as cv
from homeassistant.helpers.dispatcher import async_dispatcher_connect, dispatcher_send
from homeassistant.helpers.entity import Entity
_LOGGER = logging.getLogger(__name__)
@@ -5,7 +5,6 @@ from homeassistant.components.switch import SwitchDevice
from . import PLATFORM_SCHEMA, ZigBeeDigitalOut, ZigBeeDigitalOutConfig
CONF_ON_STATE = "on_state"
DEFAULT_ON_STATE = "high"