From fb15a2a717faf71af1b5c2d57ed3000fa4151c9b Mon Sep 17 00:00:00 2001 From: Djordje <6750655+DjordjeMandic@users.noreply.github.com> Date: Wed, 13 Nov 2024 22:20:00 +0100 Subject: [PATCH] [midea] fix whitespace --- esphome/components/midea/ir_transmitter.h | 4 ++-- esphome/components/midea_ir/midea_data.h | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/esphome/components/midea/ir_transmitter.h b/esphome/components/midea/ir_transmitter.h index 4da37cf043..7e30d6f7b3 100644 --- a/esphome/components/midea/ir_transmitter.h +++ b/esphome/components/midea/ir_transmitter.h @@ -29,7 +29,7 @@ class IrFollowMeData : public IrData { } /* TEMPERATURE */ - uint8_t temp() const { + uint8_t temp() const { if (this->fahrenheit()) { return this->get_value_(4) + 31; } @@ -43,7 +43,7 @@ class IrFollowMeData : public IrData { } else { val = esphome::clamp(val, MIN_TEMP_C, MAX_TEMP_C) + 1; } - this->set_value_(4, val); + this->set_value_(4, val); } /* BEEPER */ diff --git a/esphome/components/midea_ir/midea_data.h b/esphome/components/midea_ir/midea_data.h index 9a35d5f260..90641f1e43 100644 --- a/esphome/components/midea_ir/midea_data.h +++ b/esphome/components/midea_ir/midea_data.h @@ -75,7 +75,7 @@ class FollowMeData : public MideaData { } /* TEMPERATURE */ - uint8_t temp() const { + uint8_t temp() const { if (this->fahrenheit()) { return this->get_value_(4) + 31; } @@ -89,7 +89,7 @@ class FollowMeData : public MideaData { } else { val = esphome::clamp(val, MIN_TEMP_C, MAX_TEMP_C) + 1; } - this->set_value_(4, val); + this->set_value_(4, val); } /* BEEPER */