From 37156fe26a6167cf461fdd827d8d9f0b001eb415 Mon Sep 17 00:00:00 2001 From: mSapik <52367005+mSapik@users.noreply.github.com> Date: Tue, 4 Jun 2024 13:58:21 +0300 Subject: [PATCH] Update mhi_zj.cpp --- esphome/components/mhi_zj/mhi_zj.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/esphome/components/mhi_zj/mhi_zj.cpp b/esphome/components/mhi_zj/mhi_zj.cpp index 085a5e4f33..a74449f6ac 100644 --- a/esphome/components/mhi_zj/mhi_zj.cpp +++ b/esphome/components/mhi_zj/mhi_zj.cpp @@ -3,7 +3,8 @@ namespace esphome { namespace mhi_zj { -static const char *TAG = "mhi_zj.climate"; + +static const char *const TAG = "mhi_zj.climate"; // Power const uint32_t MHI_OFF = 0x08; @@ -225,6 +226,7 @@ void MhiClimate::transmit_state() { case climate::CLIMATE_MODE_AUTO: operating_mode = MHI_COOL; swing_v = MHI_VS_MIDDLE; // custom preferred value for this mode + swing_h = MHI_HS_3DAUTO; break; case climate::CLIMATE_MODE_FAN_ONLY: operating_mode = MHI_FAN;