From f9a619a7dbb38a6ccd7695550c8540bc049665e1 Mon Sep 17 00:00:00 2001 From: jbouwh Date: Thu, 10 Feb 2022 14:10:17 +0000 Subject: [PATCH] add valid_preset_mode_configuration for discovery --- homeassistant/components/mqtt/climate.py | 1 + 1 file changed, 1 insertion(+) diff --git a/homeassistant/components/mqtt/climate.py b/homeassistant/components/mqtt/climate.py index 40ada1e3fb31e..5f290caacc82d 100644 --- a/homeassistant/components/mqtt/climate.py +++ b/homeassistant/components/mqtt/climate.py @@ -367,6 +367,7 @@ def valid_preset_mode_configuration(config): cv.deprecated(CONF_HOLD_STATE_TEMPLATE), cv.deprecated(CONF_HOLD_STATE_TOPIC), cv.deprecated(CONF_HOLD_LIST), + valid_preset_mode_configuration, )