mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 13:34:54 +01:00
Move CONF_CONTRAST to const.py (#1352)
This commit is contained in:
parent
9fc3e05b76
commit
e73eafbd88
2 changed files with 3 additions and 2 deletions
|
@ -2,7 +2,8 @@ import esphome.codegen as cg
|
|||
import esphome.config_validation as cv
|
||||
from esphome import pins
|
||||
from esphome.const import CONF_FREQUENCY, CONF_ID, CONF_NAME, CONF_PIN, CONF_SCL, CONF_SDA, \
|
||||
ESP_PLATFORM_ESP32, CONF_DATA_PINS, CONF_RESET_PIN, CONF_RESOLUTION, CONF_BRIGHTNESS
|
||||
ESP_PLATFORM_ESP32, CONF_DATA_PINS, CONF_RESET_PIN, CONF_RESOLUTION, CONF_BRIGHTNESS, \
|
||||
CONF_CONTRAST
|
||||
|
||||
ESP_PLATFORMS = [ESP_PLATFORM_ESP32]
|
||||
DEPENDENCIES = ['api']
|
||||
|
@ -47,7 +48,6 @@ CONF_IDLE_FRAMERATE = 'idle_framerate'
|
|||
CONF_JPEG_QUALITY = 'jpeg_quality'
|
||||
CONF_VERTICAL_FLIP = 'vertical_flip'
|
||||
CONF_HORIZONTAL_MIRROR = 'horizontal_mirror'
|
||||
CONF_CONTRAST = 'contrast'
|
||||
CONF_SATURATION = 'saturation'
|
||||
CONF_TEST_PATTERN = 'test_pattern'
|
||||
|
||||
|
|
|
@ -122,6 +122,7 @@ CONF_COMPONENTS = 'components'
|
|||
CONF_CONDITION = 'condition'
|
||||
CONF_CONDITION_ID = 'condition_id'
|
||||
CONF_CONDUCTIVITY = 'conductivity'
|
||||
CONF_CONTRAST = 'contrast'
|
||||
CONF_COOL_ACTION = 'cool_action'
|
||||
CONF_COOL_MODE = 'cool_mode'
|
||||
CONF_COUNT_MODE = 'count_mode'
|
||||
|
|
Loading…
Reference in a new issue