From 432ef41a5bcb4c09ffe43d571bff37a3d21338c2 Mon Sep 17 00:00:00 2001 From: Dominik Date: Fri, 18 Jun 2021 11:50:14 +0200 Subject: [PATCH] Change set_supports_auto_mode (#1262) Change to set_supports_heat_cool_mode --- components/climate/custom.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } };