diff --git a/components/samsung_ac/protocol.cpp b/components/samsung_ac/protocol.cpp index ffcc3dd6..dbd67ba8 100644 --- a/components/samsung_ac/protocol.cpp +++ b/components/samsung_ac/protocol.cpp @@ -24,7 +24,8 @@ namespace esphome } // Check if its a decodeable NonNASA packat - DecodeResult result; + DecodeResult result = DecodeResult::Ok; + if (protocol_processing == ProtocolProcessing::Auto || protocol_processing == ProtocolProcessing::NonNASA) { result = try_decode_non_nasa_packet(data); diff --git a/components/samsung_ac/samsung_ac.cpp b/components/samsung_ac/samsung_ac.cpp index a3af63cf..76f29061 100644 --- a/components/samsung_ac/samsung_ac.cpp +++ b/components/samsung_ac/samsung_ac.cpp @@ -55,7 +55,9 @@ namespace esphome ESP_LOGCONFIG(TAG, " Outdoor: %s", (knownOutdoor.length() == 0 ? "-" : knownOutdoor.c_str())); ESP_LOGCONFIG(TAG, " Indoor: %s", (knownIndoor.length() == 0 ? "-" : knownIndoor.c_str())); if (knownOther.length() > 0) + { ESP_LOGCONFIG(TAG, " Other: %s", knownOther.c_str()); + } } void Samsung_AC::register_device(Samsung_AC_Device *device)