Sort imports according to PEP8 for 'script' folder (#29790)

This commit is contained in:
Bas Nijholt authored and Franck Nijhof committed 2019-12-09 16:24:03 +01:00
1 parent 3a28361beb
commit 5cb6d1b21f
36 files changed
+69 -67

No files matched your search

@@ -1,21 +1,23 @@
"""Provides device automations for NEW_NAME."""
from typing import List
import voluptuous as vol
from homeassistant.components.automation import AutomationActionType, state
from homeassistant.components.device_automation import TRIGGER_BASE_SCHEMA
from homeassistant.const import (
CONF_DOMAIN,
CONF_TYPE,
CONF_PLATFORM,
CONF_DEVICE_ID,
CONF_DOMAIN,
CONF_ENTITY_ID,
STATE_ON,
CONF_PLATFORM,
CONF_TYPE,
STATE_OFF,
STATE_ON,
)
from homeassistant.core import HomeAssistant, CALLBACK_TYPE
from homeassistant.core import CALLBACK_TYPE, HomeAssistant
from homeassistant.helpers import config_validation as cv, entity_registry
from homeassistant.helpers.typing import ConfigType
from homeassistant.components.automation import state, AutomationActionType
from homeassistant.components.device_automation import TRIGGER_BASE_SCHEMA
from . import DOMAIN
# TODO specify your supported trigger types.
@@ -2,18 +2,18 @@
import pytest
from homeassistant.components.NEW_DOMAIN import DOMAIN
from homeassistant.const import STATE_ON, STATE_OFF
from homeassistant.setup import async_setup_component
import homeassistant.components.automation as automation
from homeassistant.const import STATE_OFF, STATE_ON
from homeassistant.helpers import device_registry
from homeassistant.setup import async_setup_component
from tests.common import (
MockConfigEntry,
assert_lists_same,
async_get_device_automations,
async_mock_service,
mock_device_registry,
mock_registry,
async_get_device_automations,
)