mirror of
https://github.com/esphome/esphome.git
synced 2025-09-18 03:02:20 +01:00
Remove a whole bunch of deprecated/removed stuff (#1981)
This commit is contained in:
@@ -3,7 +3,6 @@ from esphome.components import output
|
||||
import esphome.config_validation as cv
|
||||
import esphome.codegen as cg
|
||||
from esphome.const import (
|
||||
CONF_BIT_DEPTH,
|
||||
CONF_CHANNEL,
|
||||
CONF_FREQUENCY,
|
||||
CONF_ID,
|
||||
@@ -50,10 +49,6 @@ CONFIG_SCHEMA = output.FLOAT_OUTPUT_SCHEMA.extend(
|
||||
cv.Required(CONF_PIN): pins.internal_gpio_output_pin_schema,
|
||||
cv.Optional(CONF_FREQUENCY, default="1kHz"): cv.frequency,
|
||||
cv.Optional(CONF_CHANNEL): cv.int_range(min=0, max=15),
|
||||
cv.Optional(CONF_BIT_DEPTH): cv.invalid(
|
||||
"The bit_depth option has been removed in v1.14, the "
|
||||
"best bit depth is now automatically calculated."
|
||||
),
|
||||
}
|
||||
).extend(cv.COMPONENT_SCHEMA)
|
||||
|
||||
|
Reference in New Issue
Block a user