mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2024-08-30 18:12:13 +00:00
Don't printf() a std::optional, that doesn't work right.
This commit is contained in:
parent
980271337a
commit
8d7595c261
@ -328,7 +328,7 @@ void MitsubishiHeatPump::hpSettingsChanged() {
|
|||||||
} else { //case "AUTO" or default:
|
} else { //case "AUTO" or default:
|
||||||
this->fan_mode = climate::CLIMATE_FAN_AUTO;
|
this->fan_mode = climate::CLIMATE_FAN_AUTO;
|
||||||
}
|
}
|
||||||
ESP_LOGI(TAG, "Fan mode is: %i", this->fan_mode);
|
ESP_LOGI(TAG, "Fan mode is: %i", this->fan_mode.value_or(-1));
|
||||||
|
|
||||||
/* ******** HANDLE MITSUBISHI VANE CHANGES ********
|
/* ******** HANDLE MITSUBISHI VANE CHANGES ********
|
||||||
* const char* VANE_MAP[7] = {"AUTO", "1", "2", "3", "4", "5", "SWING"};
|
* const char* VANE_MAP[7] = {"AUTO", "1", "2", "3", "4", "5", "SWING"};
|
||||||
|
Loading…
Reference in New Issue
Block a user