Skip to content

Commit

Permalink
Update espmhp.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
markalston committed Nov 6, 2023
1 parent 04a5f2f commit c9dad51
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions components/mitsubishi_heatpump/espmhp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ void MitsubishiHeatPump::control(const climate::ClimateCall &call) {
ESP_LOGV(TAG, "Doesn't Have Swing");
}

return;
/*
if (has_mode){
this->mode = *call.get_mode();
switch (this->mode) {
Expand Down Expand Up @@ -194,11 +194,12 @@ void MitsubishiHeatPump::control(const climate::ClimateCall &call) {
this->target_temperature = *call.get_target_temperature();
updated = true;
}
*/
ESP_LOGV(TAG,"About to enter fan control block");
//const char* FAN_MAP[6] = {"AUTO", "QUIET", "1", "2", "3", "4"};
if (has_fan) {
ESP_LOGV(TAG, "control - Requested fan mode is %s", *call.get_fan_mode());

return;
this->fan_mode = *call.get_fan_mode();
switch(*call.get_fan_mode()) {
case climate::CLIMATE_FAN_OFF:
Expand Down

0 comments on commit c9dad51

Please sign in to comment.