Skip to content

Commit

Permalink
Update espmhp.cpp
Browse files Browse the repository at this point in the history
Added logging.
  • Loading branch information
markalston committed Nov 10, 2023
1 parent bd95968 commit 543f6cd
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions components/mitsubishi_heatpump/espmhp.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -438,6 +438,10 @@ 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...");
delay(4000);
ESP_LOGCONFIG(TAG, "Ending delay...");
this->banner();
ESP_LOGCONFIG(TAG, "Setting up UART...");
if (!this->get_hw_serial_()) {
Expand Down

0 comments on commit 543f6cd

Please sign in to comment.