diff --git a/esphome/components/kt0803/__init__.py b/esphome/components/kt0803/__init__.py index 76107eb565..3968a85afb 100644 --- a/esphome/components/kt0803/__init__.py +++ b/esphome/components/kt0803/__init__.py @@ -120,7 +120,7 @@ ALC_TIME = { "250ms": AlcTime.ALC_TIME_250MS, "300ms": AlcTime.ALC_TIME_300MS, "350ms": AlcTime.ALC_TIME_350MS, - "40ms": AlcTime.ALC_TIME_40MS, + "400ms": AlcTime.ALC_TIME_400MS, } SwitchMode = kt0803_ns.enum("SwitchMode", True) @@ -295,7 +295,7 @@ CONFIG_SCHEMA = ( cv.Optional(CONF_MUTE, default=False): cv.boolean, cv.Optional(CONF_MONO, default=False): cv.boolean, cv.Optional(CONF_PRE_EMPHASIS, default="75us"): cv.enum(PRE_EMPHASIS), - cv.Optional(CONF_PILOT_TONE_AMPLITUDE, default="LOW"): cv.enum(PILOT_TONE_AMPLITUDE), + cv.Optional(CONF_PILOT_TONE_AMPLITUDE, default="Low"): cv.enum(PILOT_TONE_AMPLITUDE), cv.Optional(CONF_BASS_BOOST_CONTROL, default="Disabled"): cv.enum(BASS_BOOST_CONTROL), cv.Optional(CONF_ALC_ENABLE, default=False): cv.boolean, cv.Optional(CONF_AUTO_PA_DOWN, default=True): cv.boolean, diff --git a/esphome/components/kt0803/kt0803defs.h b/esphome/components/kt0803/kt0803defs.h index 2f1595fd4f..530d0da39d 100644 --- a/esphome/components/kt0803/kt0803defs.h +++ b/esphome/components/kt0803/kt0803defs.h @@ -60,7 +60,7 @@ enum class AlcTime { ALC_TIME_250MS, ALC_TIME_300MS, ALC_TIME_350MS, - ALC_TIME_40MS, + ALC_TIME_400MS, LAST, };