mirror of
https://github.com/esphome/esphome.git
synced 2024-12-23 05:54:56 +01:00
[code-quality] Organise time imports (#7219)
This commit is contained in:
parent
a3d5b69a9c
commit
b71c03424e
1 changed files with 8 additions and 8 deletions
|
@ -1,32 +1,32 @@
|
||||||
import logging
|
|
||||||
from importlib import resources
|
from importlib import resources
|
||||||
|
import logging
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
import tzlocal
|
import tzlocal
|
||||||
|
|
||||||
|
from esphome import automation
|
||||||
|
from esphome.automation import Condition
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome import automation
|
|
||||||
from esphome.const import (
|
from esphome.const import (
|
||||||
CONF_ID,
|
CONF_AT,
|
||||||
CONF_CRON,
|
CONF_CRON,
|
||||||
CONF_DAYS_OF_MONTH,
|
CONF_DAYS_OF_MONTH,
|
||||||
CONF_DAYS_OF_WEEK,
|
CONF_DAYS_OF_WEEK,
|
||||||
|
CONF_HOUR,
|
||||||
CONF_HOURS,
|
CONF_HOURS,
|
||||||
|
CONF_ID,
|
||||||
|
CONF_MINUTE,
|
||||||
CONF_MINUTES,
|
CONF_MINUTES,
|
||||||
CONF_MONTHS,
|
CONF_MONTHS,
|
||||||
CONF_ON_TIME,
|
CONF_ON_TIME,
|
||||||
CONF_ON_TIME_SYNC,
|
CONF_ON_TIME_SYNC,
|
||||||
|
CONF_SECOND,
|
||||||
CONF_SECONDS,
|
CONF_SECONDS,
|
||||||
CONF_TIMEZONE,
|
CONF_TIMEZONE,
|
||||||
CONF_TRIGGER_ID,
|
CONF_TRIGGER_ID,
|
||||||
CONF_AT,
|
|
||||||
CONF_SECOND,
|
|
||||||
CONF_HOUR,
|
|
||||||
CONF_MINUTE,
|
|
||||||
)
|
)
|
||||||
from esphome.core import coroutine_with_priority
|
from esphome.core import coroutine_with_priority
|
||||||
from esphome.automation import Condition
|
|
||||||
|
|
||||||
_LOGGER = logging.getLogger(__name__)
|
_LOGGER = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue