diff --git a/components/climate/custom.rst b/components/climate/custom.rst index 225b6f93e..40d3102e8 100644 --- a/components/climate/custom.rst +++ b/components/climate/custom.rst @@ -46,7 +46,7 @@ two methods (:apiclass:`Climate `): // The capabilities of the climate device auto traits = climate::ClimateTraits(); traits.set_supports_current_temperature(true); - traits.set_supports_auto_mode(true); + traits.set_supports_heat_cool_mode(true); return traits; } };