Sort imports according to PEP8 for versasense (#29753)
parent
e9b428781b
commit
c4a6f265e8
|
@ -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__)
|
||||
|
|
|
@ -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__)
|
||||
|
|
|
@ -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__)
|
||||
|
|
Loading…
Reference in New Issue