mirror of
https://github.com/esphome/esphome-docs.git
synced 2024-12-26 17:27:47 +01:00
Change set_supports_auto_mode (#1262)
Change to set_supports_heat_cool_mode
This commit is contained in:
parent
5359d7a47e
commit
432ef41a5b
@ -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;
|
||||
}
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user