[midea] fix whitespace

This commit is contained in:
Djordje 2024-11-13 22:20:00 +01:00
parent 3782c3fb89
commit fb15a2a717
2 changed files with 4 additions and 4 deletions

View file

@ -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<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
}
this->set_value_(4, val);
this->set_value_(4, val);
}
/* BEEPER */

View file

@ -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<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
}
this->set_value_(4, val);
this->set_value_(4, val);
}
/* BEEPER */