cleanups
This commit is contained in:
parent
634e3253d6
commit
c27337b8b0
|
@ -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.const import CONF_ID
|
from esphome.const import CONF_ID
|
||||||
from esphome import pins, automation
|
from esphome import pins
|
||||||
from esphome.components import uart
|
from esphome.components import uart
|
||||||
|
|
||||||
DEPENDENCIES = ["preferences", "uart"]
|
DEPENDENCIES = ["preferences", "uart"]
|
||||||
|
|
|
@ -5,7 +5,6 @@ import esphome.config_validation as cv
|
||||||
from esphome.components import cover
|
from esphome.components import cover
|
||||||
from .. import (
|
from .. import (
|
||||||
ratgdo_ns,
|
ratgdo_ns,
|
||||||
RATGDO,
|
|
||||||
register_ratgdo_child,
|
register_ratgdo_child,
|
||||||
RATGDO_CLIENT_SCHMEA
|
RATGDO_CLIENT_SCHMEA
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,19 +1,11 @@
|
||||||
import esphome.codegen as cg
|
import esphome.codegen as cg
|
||||||
from esphome.const import CONF_ID
|
|
||||||
import esphome.config_validation as cv
|
import esphome.config_validation as cv
|
||||||
from esphome.const import (
|
from esphome.const import (
|
||||||
CONF_DURATION,
|
CONF_OUTPUT_ID, # New in 2023.5
|
||||||
CONF_CONSTANT_BRIGHTNESS,
|
|
||||||
CONF_OUTPUT_ID,
|
|
||||||
CONF_COLD_WHITE_COLOR_TEMPERATURE,
|
|
||||||
CONF_WARM_WHITE_COLOR_TEMPERATURE,
|
|
||||||
CONF_REVERSED,
|
|
||||||
CONF_MIN_BRIGHTNESS, # New in 2023.5
|
|
||||||
)
|
)
|
||||||
from esphome.components import light
|
from esphome.components import light
|
||||||
from .. import (
|
from .. import (
|
||||||
ratgdo_ns,
|
ratgdo_ns,
|
||||||
RATGDO,
|
|
||||||
register_ratgdo_child,
|
register_ratgdo_child,
|
||||||
RATGDO_CLIENT_SCHMEA
|
RATGDO_CLIENT_SCHMEA
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in New Issue