From ad6576886028f2117a8bbcb061250b76ae3388e9 Mon Sep 17 00:00:00 2001 From: Geoff Davis Date: Sat, 23 Oct 2021 13:07:38 -0500 Subject: [PATCH] Namespace call to delay Upstream library changes made calls to delay become ambiguous. Force to the esphome version, even though we declared namespace esphome already. --- components/mitsubishi_heatpump/espmhp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/mitsubishi_heatpump/espmhp.cpp b/components/mitsubishi_heatpump/espmhp.cpp index bd43086..4a2c142 100644 --- a/components/mitsubishi_heatpump/espmhp.cpp +++ b/components/mitsubishi_heatpump/espmhp.cpp @@ -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; }