Sort imports according to PEP8 for versasense (#29753)

pull/29787/head
Bas Nijholt 2019-12-09 13:08:05 +01:00 committed by Franck Nijhof
parent e9b428781b
commit c4a6f265e8
3 changed files with 18 additions and 18 deletions

View File

@ -10,14 +10,14 @@ import homeassistant.helpers.config_validation as cv
from homeassistant.helpers.discovery import async_load_platform
from .const import (
KEY_CONSUMER,
KEY_IDENTIFIER,
KEY_MEASUREMENT,
KEY_PARENT_MAC,
KEY_PARENT_NAME,
KEY_UNIT,
PERIPHERAL_CLASS_SENSOR,
PERIPHERAL_CLASS_SENSOR_ACTUATOR,
KEY_IDENTIFIER,
KEY_PARENT_NAME,
KEY_PARENT_MAC,
KEY_UNIT,
KEY_MEASUREMENT,
KEY_CONSUMER,
)
_LOGGER = logging.getLogger(__name__)

View File

@ -5,12 +5,12 @@ from homeassistant.helpers.entity import Entity
from . import DOMAIN
from .const import (
KEY_IDENTIFIER,
KEY_PARENT_NAME,
KEY_PARENT_MAC,
KEY_UNIT,
KEY_MEASUREMENT,
KEY_CONSUMER,
KEY_IDENTIFIER,
KEY_MEASUREMENT,
KEY_PARENT_MAC,
KEY_PARENT_NAME,
KEY_UNIT,
)
_LOGGER = logging.getLogger(__name__)

View File

@ -5,14 +5,14 @@ from homeassistant.components.switch import SwitchDevice
from . import DOMAIN
from .const import (
PERIPHERAL_STATE_ON,
PERIPHERAL_STATE_OFF,
KEY_IDENTIFIER,
KEY_PARENT_NAME,
KEY_PARENT_MAC,
KEY_UNIT,
KEY_MEASUREMENT,
KEY_CONSUMER,
KEY_IDENTIFIER,
KEY_MEASUREMENT,
KEY_PARENT_MAC,
KEY_PARENT_NAME,
KEY_UNIT,
PERIPHERAL_STATE_OFF,
PERIPHERAL_STATE_ON,
)
_LOGGER = logging.getLogger(__name__)