Sort imports according to PEP8 for 'script' folder (#29790)
This commit is contained in:
parent
3a28361beb
commit
5cb6d1b21f
36 changed files with 69 additions and 67 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue