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 80311f0 commit 5986618
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/mitsubishi_heatpump/espmhp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ void MitsubishiHeatPump::control(const climate::ClimateCall &call) {
this->fan_mode = *call.get_fan_mode();
ESP_LOGV(TAG,"Got fan mode");
return;
switch (this->fan_mode) {
switch (switch(*call.get_fan_mode()) {) {
case climate::CLIMATE_FAN_OFF:
//hp->setPowerSetting("OFF");
//updated = true;
Expand Down

0 comments on commit 5986618

Please sign in to comment.