Change set_supports_auto_mode (#1262)

Change to set_supports_heat_cool_mode
This commit is contained in:
Dominik 2021-06-18 11:50:14 +02:00 committed by GitHub
parent 5359d7a47e
commit 432ef41a5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -46,7 +46,7 @@ two methods (:apiclass:`Climate <climate::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;
}
};