From 8f2702aae3dd4b768ca08605df4b5e56bb4fd997 Mon Sep 17 00:00:00 2001 From: endym Date: Thu, 8 Aug 2024 16:32:17 +0200 Subject: [PATCH] MAX6921: fix CI errors #2 --- esphome/components/max6921/display.py | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/esphome/components/max6921/display.py b/esphome/components/max6921/display.py index f854934412..444d5fe2f0 100644 --- a/esphome/components/max6921/display.py +++ b/esphome/components/max6921/display.py @@ -1,19 +1,19 @@ -from esphome import pins, automation +from esphome import automation, pins import esphome.codegen as cg -import esphome.config_validation as cv from esphome.components import display, spi +import esphome.config_validation as cv from esphome.const import ( - CONF_ID, CONF_BRIGHTNESS, + CONF_DURATION, + CONF_EFFECT, + CONF_ID, CONF_LAMBDA, CONF_MODE, CONF_POSITION, - CONF_EFFECT, - CONF_DURATION, + CONF_TEXT, CONF_UPDATE_INTERVAL, ) - DEPENDENCIES = ["spi", "esp32"] CODEOWNERS = ["@endym"] 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_12_PIN = "pos_12_pin" # CONF_DEMO_MODE = "demo_mode" -CONF_TEXT = "text" CONF_ALIGN = "align" CONF_CYCLE_NUM = "cycle_num" CONF_OFF = "off"