diff --git a/components/cn105/hp_readings.cpp b/components/cn105/hp_readings.cpp index 8d72b60..8e0415a 100644 --- a/components/cn105/hp_readings.cpp +++ b/components/cn105/hp_readings.cpp @@ -202,10 +202,8 @@ void CN105Climate::getSettingsFromResponsePacket() { this->wideVaneAdj = (data[10] & 0xF0) == 0x80 ? true : false; - if (this->wideVaneAdj) { - receivedSettings.wideVane = lookupByteMapValue(WIDEVANE_MAP, WIDEVANE, 7, data[10] & 0x0F, "wideVane reading", WIDEVANE_MAP[2]); - } - + receivedSettings.wideVane = lookupByteMapValue(WIDEVANE_MAP, WIDEVANE, 7, data[10] & 0x0F, "wideVane reading"); + ESP_LOGD("Decoder", "[wideVane: %s (adj:%d)]", receivedSettings.wideVane, this->wideVaneAdj); /*if ((data[10] != 0) && (this->traits_.supports_swing_mode(climate::CLIMATE_SWING_HORIZONTAL))) { // wideVane is not always supported receivedSettings.wideVane = lookupByteMapValue(WIDEVANE_MAP, WIDEVANE, 7, data[10] & 0x0F, "wideVane reading"); wideVaneAdj = (data[10] & 0xF0) == 0x80 ? true : false;