mirror of
https://github.com/esphome/esphome.git
synced 2025-01-08 19:27:43 +01:00
Lint
This commit is contained in:
parent
968ff4b619
commit
95428b4cfe
@ -1,6 +1,6 @@
|
|||||||
from esphome.components import output
|
|
||||||
import esphome.config_validation as cv
|
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
|
import esphome.config_validation as cv
|
||||||
|
from esphome.components import output
|
||||||
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_OUTPUTS, CONF_TYPE
|
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_OUTPUTS, CONF_TYPE
|
||||||
from .. import custom_ns
|
from .. import custom_ns
|
||||||
|
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.components import sensor
|
from esphome.components import sensor
|
||||||
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_NAME, CONF_SENSORS
|
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_SENSORS
|
||||||
from .. import custom_ns
|
from .. import custom_ns
|
||||||
|
|
||||||
CustomSensorConstructor = custom_ns.class_('CustomSensorConstructor')
|
CustomSensorConstructor = custom_ns.class_('CustomSensorConstructor')
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
from esphome.components import switch
|
|
||||||
import esphome.config_validation as cv
|
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_NAME, CONF_SWITCHES
|
import esphome.config_validation as cv
|
||||||
|
from esphome.components import switch
|
||||||
|
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_SWITCHES
|
||||||
from .. import custom_ns
|
from .. import custom_ns
|
||||||
|
|
||||||
|
|
||||||
CustomSwitchConstructor = custom_ns.class_('CustomSwitchConstructor')
|
CustomSwitchConstructor = custom_ns.class_('CustomSwitchConstructor')
|
||||||
|
|
||||||
CONFIG_SCHEMA = cv.Schema({
|
CONFIG_SCHEMA = cv.Schema({
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
from esphome.components import text_sensor
|
|
||||||
import esphome.config_validation as cv
|
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_NAME, CONF_TEXT_SENSORS
|
import esphome.config_validation as cv
|
||||||
|
from esphome.components import text_sensor
|
||||||
|
from esphome.const import CONF_ID, CONF_LAMBDA, CONF_TEXT_SENSORS
|
||||||
from .. import custom_ns
|
from .. import custom_ns
|
||||||
|
|
||||||
CustomTextSensorConstructor = custom_ns.class_('CustomTextSensorConstructor')
|
CustomTextSensorConstructor = custom_ns.class_('CustomTextSensorConstructor')
|
||||||
|
Loading…
Reference in New Issue
Block a user