Skip to content

Commit

Permalink
Avoid defining a default mode
Browse files Browse the repository at this point in the history
  • Loading branch information
OlympusMonds committed Mar 7, 2024
1 parent e9ea1b3 commit 743a75f
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions esphome/components/mitsubishi/mitsubishi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@ const uint8_t MITSUBISHI_POWERFUL = 0x08;
// Optional presets used to enable some model features
const uint8_t MITSUBISHI_ECONOCOOL = 0x20;
const uint8_t MITSUBISHI_NIGHTMODE = 0xC1;
const uint8_t MITSUBISHI_DEFAULTMODE = 0x81;

// Pulse parameters in usec
const uint16_t MITSUBISHI_BIT_MARK = 430;
Expand Down Expand Up @@ -379,9 +378,6 @@ bool MitsubishiClimate::on_receive(remote_base::RemoteReceiveData data) {
case MITSUBISHI_NIGHTMODE:
this->preset = climate::CLIMATE_PRESET_SLEEP;
break;
case MITSUBISHI_DEFAULTMODE:
this->preset = climate::CLIMATE_PRESET_NONE;
break;
}

ESP_LOGV(TAG, "Receiving: %s", format_hex_pretty(state_frame, 18).c_str());
Expand Down

0 comments on commit 743a75f

Please sign in to comment.