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 11, 2023
1 parent de2f950 commit d6b5248
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions components/mitsubishi_heatpump/espmhp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ void MitsubishiHeatPump::control(const climate::ClimateCall &call) {
ESP_LOGV(TAG, "Doesn't Have Temp");
}
if (has_fan){
ESP_LOGV(TAG, "Has Fan");
ESP_LOV(TAG, "Has Fan");
} else {
ESP_LOGV(TAG, "Doesn't Have Fan");
}
Expand Down Expand Up @@ -439,11 +439,11 @@ void MitsubishiHeatPump::set_remote_temperature(float temp) {
void MitsubishiHeatPump::setup() {
// This will be called by App.setup()
// FIXME Added delay due to ESP01s not connecting to heatpump when connected at same time as MHK2 to splitter.
ESP_LOGCONFIG(TAG, "Delaying setup for 4 seconds...");
ESP_LOGV(TAG, "Delaying setup for 4 seconds...");
esphome::delay(4000);
ESP_LOGCONFIG(TAG, "Ending delay...");
ESP_LOGV(TAG, "Ending delay...");
this->banner();
ESP_LOGCONFIG(TAG, "Setting up UART...");
ESP_LOGV(TAG, "Setting up UART...");
if (!this->get_hw_serial_()) {
ESP_LOGCONFIG(
TAG,
Expand All @@ -455,7 +455,7 @@ void MitsubishiHeatPump::setup() {
}
this->check_logger_conflict_();

ESP_LOGCONFIG(TAG, "Intializing new HeatPump object.");
ESP_LOGV(TAG, "Intializing new HeatPump object.");
this->hp = new HeatPump();
this->current_temperature = NAN;
this->target_temperature = NAN;
Expand All @@ -476,7 +476,7 @@ void MitsubishiHeatPump::setup() {
);
#endif

ESP_LOGCONFIG(
ESP_LOGV(
TAG,
"hw_serial(%p) is &Serial(%p)? %s",
this->get_hw_serial_(),
Expand Down

0 comments on commit d6b5248

Please sign in to comment.