Remove deprecated set_supports_heat_cool_mode from custom climate (#1644)

This commit is contained in:
alexmaurer-madis 2021-11-22 09:21:39 +01:00 committed by GitHub
parent 20b9f5846e
commit 427a92331e
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_heat_cool_mode(true);
traits.set_supported_modes({climate::CLIMATE_MODE_HEAT_COOL});
return traits;
}
};