Sort imports according to PEP8 for scene (#29750)

pull/29787/head
Bas Nijholt 2019-12-09 13:12:43 +01:00 committed by Franck Nijhof
parent 127d84edd1
commit 76debf4c88
3 changed files with 3 additions and 4 deletions

View File

@ -4,12 +4,11 @@ import logging
import voluptuous as vol
from homeassistant.core import DOMAIN as HA_DOMAIN
from homeassistant.const import CONF_PLATFORM, SERVICE_TURN_ON
from homeassistant.core import DOMAIN as HA_DOMAIN
from homeassistant.helpers.entity import Entity
from homeassistant.helpers.entity_component import EntityComponent
# mypy: allow-untyped-defs, no-check-untyped-defs
DOMAIN = "scene"

View File

@ -4,7 +4,7 @@ All containing methods are legacy helpers that should not be used by new
components. Instead call the service directly.
"""
from homeassistant.components.scene import DOMAIN
from homeassistant.const import ATTR_ENTITY_ID, SERVICE_TURN_ON, ENTITY_MATCH_ALL
from homeassistant.const import ATTR_ENTITY_ID, ENTITY_MATCH_ALL, SERVICE_TURN_ON
from homeassistant.loader import bind_hass

View File

@ -2,8 +2,8 @@
import io
import unittest
from homeassistant.setup import setup_component
from homeassistant.components import light, scene
from homeassistant.setup import setup_component
from homeassistant.util.yaml import loader as yaml_loader
from tests.common import get_test_home_assistant