Skip to content

Commit

Permalink
Current temp and presets
Browse files Browse the repository at this point in the history
  • Loading branch information
netmindz committed Nov 4, 2023
1 parent d0c3a08 commit f6e3cf6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions components/BalboaGL/climate/BalboaGLClimate.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -341,6 +341,12 @@ void BalboaGLClimate::setup() {
this->fan_mode = climate::CLIMATE_FAN_OFF;
this->swing_mode = climate::CLIMATE_SWING_OFF;
this->traits_.set_supports_action(false);
set_supports_current_temperature(true);
this->traits_.add_supported_custom_preset(std::string("STD"));
this->traits_.add_supported_custom_preset(std::string("ECO"));
this->traits_.add_supported_custom_preset(std::string("Sleep"));
this->traits_.add_supported_custom_preset(std::string("UNKNOWN"));

this->visual_min_temperature_override_ = 26;
this->visual_max_temperature_override_ = 40;
this->visual_target_temperature_step_override_ = 0.5;
Expand Down

0 comments on commit f6e3cf6

Please sign in to comment.