From 48852aae93c19b87e91fe00f04aa5b493889486f Mon Sep 17 00:00:00 2001 From: Andrew Wong Date: Mon, 9 Sep 2024 23:48:02 +0800 Subject: [PATCH] Apply suggestions from code review Co-authored-by: RFDarter --- esphome/components/daikin_brc52a61/daikin_brc52a61.cpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/esphome/components/daikin_brc52a61/daikin_brc52a61.cpp b/esphome/components/daikin_brc52a61/daikin_brc52a61.cpp index b870f378d5..a6a0ee144a 100644 --- a/esphome/components/daikin_brc52a61/daikin_brc52a61.cpp +++ b/esphome/components/daikin_brc52a61/daikin_brc52a61.cpp @@ -81,17 +81,11 @@ struct IRData { void DaikinClimate::transmit_state() { IRData irdata{{{0x16}}}; - irdata.mode = this->operation_mode_(); - irdata.fan_speed = this->fan_speed_(); - irdata.temperature = this->temperature_(); - irdata.swing = this->swing_(); - irdata.set_power(this->mode != climate::CLIMATE_MODE_OFF); - irdata.set_checksum(); auto transmit = this->transmitter_->transmit();