From f6b753a1ea21ced59e9b20be0b1674634cce23fc Mon Sep 17 00:00:00 2001 From: yoziru Date: Sun, 4 Aug 2024 21:21:23 +0200 Subject: [PATCH] rename ifeel -> ifeelreport --- esphome/components/argo_ulisse/argo_ulisse.cpp | 4 ++-- esphome/components/argo_ulisse/argo_ulisse.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/components/argo_ulisse/argo_ulisse.cpp b/esphome/components/argo_ulisse/argo_ulisse.cpp index f1177f386d..d6fb644b3d 100644 --- a/esphome/components/argo_ulisse/argo_ulisse.cpp +++ b/esphome/components/argo_ulisse/argo_ulisse.cpp @@ -128,11 +128,11 @@ void ArgoUlisseClimate::transmit_ifeel_() { ifeel_packet.IrChannel = 0; // Assume channel 0, adjust if needed ifeel_packet.IrCommandType = ArgoIRMessageType_IFEEL_TEMP_REPORT; - ifeel_packet.ifeel.SensorT = this->sensor_temperature_(); + ifeel_packet.ifeelreport.SensorT = this->sensor_temperature_(); // Calculate checksum ESP_LOGV(TAG, " Calculating iFeel checksum.."); - ifeel_packet.ifeel.CheckHi = this->calc_checksum_(&ifeel_packet, ArgoIRMessageLength_IFEEL_TEMP_REPORT); + ifeel_packet.ifeelreport.CheckHi = this->calc_checksum_(&ifeel_packet, ArgoIRMessageLength_IFEEL_TEMP_REPORT); // Transmit the IR signal auto transmit = this->transmitter_->transmit(); diff --git a/esphome/components/argo_ulisse/argo_ulisse.h b/esphome/components/argo_ulisse/argo_ulisse.h index 07f40da79a..7c10824c5a 100644 --- a/esphome/components/argo_ulisse/argo_ulisse.h +++ b/esphome/components/argo_ulisse/argo_ulisse.h @@ -84,13 +84,13 @@ union ArgoProtocolWREM3 { // Byte5 uint8_t Sum : 8; /// Checksum }; - struct iFeel { + struct iFeelReport { // Byte 0 (same definition across the union) uint8_t : 8; // {Pre1 | IrChannel | IrCommandType} // Byte 1 uint8_t SensorT : 5; // in Celsius, range: 4..35 (offset by -4[*C]) uint8_t CheckHi : 3; // Checksum (short) - } ifeel; + } ifeelreport; struct Timer { // Byte 0 (same definition across the union) uint8_t : 8; // {Pre1 | IrChannel | IrCommandType}