This commit is contained in:
Gábor Poczkodi 2024-10-13 20:26:49 +02:00
parent 14e074ec61
commit 2c953eee39
2 changed files with 3 additions and 3 deletions

View file

@ -120,7 +120,7 @@ ALC_TIME = {
"250ms": AlcTime.ALC_TIME_250MS, "250ms": AlcTime.ALC_TIME_250MS,
"300ms": AlcTime.ALC_TIME_300MS, "300ms": AlcTime.ALC_TIME_300MS,
"350ms": AlcTime.ALC_TIME_350MS, "350ms": AlcTime.ALC_TIME_350MS,
"40ms": AlcTime.ALC_TIME_40MS, "400ms": AlcTime.ALC_TIME_400MS,
} }
SwitchMode = kt0803_ns.enum("SwitchMode", True) SwitchMode = kt0803_ns.enum("SwitchMode", True)
@ -295,7 +295,7 @@ CONFIG_SCHEMA = (
cv.Optional(CONF_MUTE, default=False): cv.boolean, cv.Optional(CONF_MUTE, default=False): cv.boolean,
cv.Optional(CONF_MONO, 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_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_BASS_BOOST_CONTROL, default="Disabled"): cv.enum(BASS_BOOST_CONTROL),
cv.Optional(CONF_ALC_ENABLE, default=False): cv.boolean, cv.Optional(CONF_ALC_ENABLE, default=False): cv.boolean,
cv.Optional(CONF_AUTO_PA_DOWN, default=True): cv.boolean, cv.Optional(CONF_AUTO_PA_DOWN, default=True): cv.boolean,

View file

@ -60,7 +60,7 @@ enum class AlcTime {
ALC_TIME_250MS, ALC_TIME_250MS,
ALC_TIME_300MS, ALC_TIME_300MS,
ALC_TIME_350MS, ALC_TIME_350MS,
ALC_TIME_40MS, ALC_TIME_400MS,
LAST, LAST,
}; };