1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 23:21:54 +00:00
This commit is contained in:
J. Nick Koston
2025-10-30 19:03:12 -05:00
parent 4565dcc4d9
commit 46e4fe2896

View File

@@ -90,10 +90,9 @@ class ClimateCall {
/// Set the preset of the climate device.
ClimateCall &set_preset(optional<ClimatePreset> preset);
/// Set the preset of the climate device based on a string.
__attribute__((deprecated("Use set_preset(const char*) instead"))) ClimateCall &set_preset(const std::string &preset);
ClimateCall &set_preset(const std::string &preset);
/// Set the preset of the climate device based on a string.
__attribute__((deprecated("Use set_preset(const char*) instead"))) ClimateCall &set_preset(
optional<std::string> preset);
ClimateCall &set_preset(optional<std::string> preset);
/// Set the custom preset of the climate device.
ClimateCall &set_preset(const char *custom_preset);