MAX6921: fix CI errors #2

This commit is contained in:
endym 2024-08-08 16:32:17 +02:00
parent d347dce79d
commit 8f2702aae3

View file

@ -1,19 +1,19 @@
from esphome import pins, automation from esphome import automation, pins
import esphome.codegen as cg import esphome.codegen as cg
import esphome.config_validation as cv
from esphome.components import display, spi from esphome.components import display, spi
import esphome.config_validation as cv
from esphome.const import ( from esphome.const import (
CONF_ID,
CONF_BRIGHTNESS, CONF_BRIGHTNESS,
CONF_DURATION,
CONF_EFFECT,
CONF_ID,
CONF_LAMBDA, CONF_LAMBDA,
CONF_MODE, CONF_MODE,
CONF_POSITION, CONF_POSITION,
CONF_EFFECT, CONF_TEXT,
CONF_DURATION,
CONF_UPDATE_INTERVAL, CONF_UPDATE_INTERVAL,
) )
DEPENDENCIES = ["spi", "esp32"] DEPENDENCIES = ["spi", "esp32"]
CODEOWNERS = ["@endym"] CODEOWNERS = ["@endym"]
CONF_LOAD_PIN = "load_pin" CONF_LOAD_PIN = "load_pin"
@ -43,7 +43,6 @@ CONF_POS_10_PIN = "pos_10_pin"
CONF_POS_11_PIN = "pos_11_pin" CONF_POS_11_PIN = "pos_11_pin"
CONF_POS_12_PIN = "pos_12_pin" CONF_POS_12_PIN = "pos_12_pin"
# CONF_DEMO_MODE = "demo_mode" # CONF_DEMO_MODE = "demo_mode"
CONF_TEXT = "text"
CONF_ALIGN = "align" CONF_ALIGN = "align"
CONF_CYCLE_NUM = "cycle_num" CONF_CYCLE_NUM = "cycle_num"
CONF_OFF = "off" CONF_OFF = "off"