Sort imports according to PEP8 for switch (#29654)
This commit is contained in:
parent
3d64405896
commit
e0b82440ad
12 changed files with 45 additions and 42 deletions
|
@ -1,14 +1,15 @@
|
|||
"""Provides device triggers for switches."""
|
||||
from typing import List
|
||||
|
||||
import voluptuous as vol
|
||||
|
||||
from homeassistant.core import HomeAssistant, CALLBACK_TYPE
|
||||
from homeassistant.components.automation import AutomationActionType
|
||||
from homeassistant.components.device_automation import toggle_entity
|
||||
from homeassistant.const import CONF_DOMAIN
|
||||
from homeassistant.core import CALLBACK_TYPE, HomeAssistant
|
||||
from homeassistant.helpers.typing import ConfigType
|
||||
from . import DOMAIN
|
||||
|
||||
from . import DOMAIN
|
||||
|
||||
TRIGGER_SCHEMA = toggle_entity.TRIGGER_SCHEMA.extend(
|
||||
{vol.Required(CONF_DOMAIN): DOMAIN}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue