mirror of
https://github.com/Threnklyn/esphome-dev.git
synced 2026-05-26 07:38:30 +02:00
IDF 5 fixes for various components from test1.yaml (#5451)
This commit is contained in:
@@ -101,7 +101,7 @@ void CoolixClimate::transmit_state() {
|
||||
}
|
||||
}
|
||||
}
|
||||
ESP_LOGV(TAG, "Sending coolix code: 0x%06X", remote_state);
|
||||
ESP_LOGV(TAG, "Sending coolix code: 0x%06" PRIX32, remote_state);
|
||||
|
||||
auto transmit = this->transmitter_->transmit();
|
||||
auto *data = transmit.get_data();
|
||||
@@ -115,7 +115,7 @@ bool CoolixClimate::on_coolix(climate::Climate *parent, remote_base::RemoteRecei
|
||||
return false;
|
||||
// Decoded remote state y 3 bytes long code.
|
||||
uint32_t remote_state = (*decoded).second;
|
||||
ESP_LOGV(TAG, "Decoded 0x%06X", remote_state);
|
||||
ESP_LOGV(TAG, "Decoded 0x%06" PRIX32, remote_state);
|
||||
if ((remote_state & 0xFF0000) != 0xB20000)
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user