mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 01:08:03 +01:00
Apply suggestions from code review
Co-authored-by: RFDarter <rfdarter@googlemail.com>
This commit is contained in:
parent
a2f1e64dab
commit
48852aae93
1 changed files with 0 additions and 6 deletions
|
@ -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();
|
||||
|
|
Loading…
Reference in a new issue