mirror of
https://github.com/geoffdavis/esphome-mitsubishiheatpump
synced 2025-07-25 11:02:24 +00:00
Merge branch 'release/2.3.2'
This commit is contained in:
@ -258,7 +258,7 @@ void MitsubishiHeatPump::hpSettingsChanged() {
|
||||
* mode, but that isn't working right yet.
|
||||
*/
|
||||
ESP_LOGW(TAG, "Waiting for HeatPump to read the settings the first time.");
|
||||
delay(10);
|
||||
esphome::delay(10);
|
||||
return;
|
||||
}
|
||||
|
||||
@ -469,9 +469,9 @@ void MitsubishiHeatPump::setup() {
|
||||
}
|
||||
|
||||
// create various setpoint persistence:
|
||||
cool_storage = global_preferences.make_preference<uint8_t>(this->get_object_id_hash() + 1);
|
||||
heat_storage = global_preferences.make_preference<uint8_t>(this->get_object_id_hash() + 2);
|
||||
auto_storage = global_preferences.make_preference<uint8_t>(this->get_object_id_hash() + 3);
|
||||
cool_storage = global_preferences->make_preference<uint8_t>(this->get_object_id_hash() + 1);
|
||||
heat_storage = global_preferences->make_preference<uint8_t>(this->get_object_id_hash() + 2);
|
||||
auto_storage = global_preferences->make_preference<uint8_t>(this->get_object_id_hash() + 3);
|
||||
|
||||
// load values from storage:
|
||||
cool_setpoint = load(cool_storage);
|
||||
|
@ -28,7 +28,7 @@ using namespace esphome;
|
||||
|
||||
static const char* TAG = "MitsubishiHeatPump"; // Logging tag
|
||||
|
||||
static const char* ESPMHP_VERSION = "2.3.1";
|
||||
static const char* ESPMHP_VERSION = "2.3.2";
|
||||
|
||||
/* If polling interval is greater than 9 seconds, the HeatPump
|
||||
library reconnects, but doesn't then follow up with our data request.*/
|
||||
|
Reference in New Issue
Block a user