1
0
mirror of https://github.com/esphome/esphome.git synced 2025-09-14 01:02:19 +01:00

[code-quality] Organise core imports (#7149)

This commit is contained in:
Jesse Hills
2024-07-29 14:07:44 +12:00
committed by GitHub
parent 20c2246533
commit e64709c37e
32 changed files with 190 additions and 186 deletions

View File

@@ -1,20 +1,20 @@
import operator
from functools import reduce
import esphome.config_validation as cv
from esphome.core import CORE
import operator
import esphome.config_validation as cv
from esphome.const import (
CONF_ALLOW_OTHER_USES,
CONF_IGNORE_STRAPPING_WARNING,
CONF_INPUT,
CONF_INVERTED,
CONF_MODE,
CONF_NUMBER,
CONF_OPEN_DRAIN,
CONF_OUTPUT,
CONF_PULLDOWN,
CONF_PULLUP,
CONF_IGNORE_STRAPPING_WARNING,
CONF_ALLOW_OTHER_USES,
CONF_INVERTED,
)
from esphome.core import CORE
class PinRegistry(dict):