refactor(climate_ir): remove unused variable

This commit is contained in:
Vasilev Viktor 2024-08-27 20:12:24 +03:00
parent 47bb320c27
commit 5e6348da0a

View file

@ -34,7 +34,6 @@ void BalluOldClimate::transmit_state() {
uint8_t remote_state[BALLU_STATE_LENGTH] = {0}; uint8_t remote_state[BALLU_STATE_LENGTH] = {0};
auto temp = (uint8_t) roundf(clamp(this->target_temperature, YKR_K_002E_TEMP_MIN, YKR_K_002E_TEMP_MAX)); auto temp = (uint8_t) roundf(clamp(this->target_temperature, YKR_K_002E_TEMP_MIN, YKR_K_002E_TEMP_MAX));
auto swing_mode = this->swing_mode != climate::CLIMATE_SWING_OFF;
remote_state[0] = 0x23; remote_state[0] = 0x23;
remote_state[1] = 0xCB; remote_state[1] = 0xCB;