From 5e6348da0af4448e1852463d58650b74afd05536 Mon Sep 17 00:00:00 2001 From: Vasilev Viktor Date: Tue, 27 Aug 2024 20:12:24 +0300 Subject: [PATCH] refactor(climate_ir): remove unused variable --- esphome/components/ballu_old/ballu_old.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/esphome/components/ballu_old/ballu_old.cpp b/esphome/components/ballu_old/ballu_old.cpp index 7067422e27..b63f44a211 100644 --- a/esphome/components/ballu_old/ballu_old.cpp +++ b/esphome/components/ballu_old/ballu_old.cpp @@ -34,7 +34,6 @@ void BalluOldClimate::transmit_state() { 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 swing_mode = this->swing_mode != climate::CLIMATE_SWING_OFF; remote_state[0] = 0x23; remote_state[1] = 0xCB;