[haier] Fix control_method schema incorrectly using ensure_list (#15523)

This commit is contained in:
Jonathan Swoboda
2026-04-07 17:53:16 -04:00
committed by GitHub
parent 5a52936f72
commit 3073f3ec5c
+1 -3
View File
@@ -215,9 +215,7 @@ CONFIG_SCHEMA = cv.All(
{
cv.Optional(
CONF_CONTROL_METHOD, default="SET_GROUP_PARAMETERS"
): cv.ensure_list(
cv.enum(SUPPORTED_HON_CONTROL_METHODS, upper=True)
),
): cv.enum(SUPPORTED_HON_CONTROL_METHODS, upper=True),
cv.Optional(CONF_BEEPER): cv.invalid(
f"The {CONF_BEEPER} option is deprecated, use beeper_on/beeper_off actions or beeper switch for a haier platform instead"
),