mirror of
https://github.com/esphome/esphome.git
synced 2024-11-27 17:27:59 +01:00
[midea] fix whitespace
This commit is contained in:
parent
3782c3fb89
commit
fb15a2a717
2 changed files with 4 additions and 4 deletions
|
@ -29,7 +29,7 @@ class IrFollowMeData : public IrData {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TEMPERATURE */
|
/* TEMPERATURE */
|
||||||
uint8_t temp() const {
|
uint8_t temp() const {
|
||||||
if (this->fahrenheit()) {
|
if (this->fahrenheit()) {
|
||||||
return this->get_value_(4) + 31;
|
return this->get_value_(4) + 31;
|
||||||
}
|
}
|
||||||
|
@ -43,7 +43,7 @@ class IrFollowMeData : public IrData {
|
||||||
} else {
|
} else {
|
||||||
val = esphome::clamp<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
|
val = esphome::clamp<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
|
||||||
}
|
}
|
||||||
this->set_value_(4, val);
|
this->set_value_(4, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BEEPER */
|
/* BEEPER */
|
||||||
|
|
|
@ -75,7 +75,7 @@ class FollowMeData : public MideaData {
|
||||||
}
|
}
|
||||||
|
|
||||||
/* TEMPERATURE */
|
/* TEMPERATURE */
|
||||||
uint8_t temp() const {
|
uint8_t temp() const {
|
||||||
if (this->fahrenheit()) {
|
if (this->fahrenheit()) {
|
||||||
return this->get_value_(4) + 31;
|
return this->get_value_(4) + 31;
|
||||||
}
|
}
|
||||||
|
@ -89,7 +89,7 @@ class FollowMeData : public MideaData {
|
||||||
} else {
|
} else {
|
||||||
val = esphome::clamp<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
|
val = esphome::clamp<uint8_t>(val, MIN_TEMP_C, MAX_TEMP_C) + 1;
|
||||||
}
|
}
|
||||||
this->set_value_(4, val);
|
this->set_value_(4, val);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* BEEPER */
|
/* BEEPER */
|
||||||
|
|
Loading…
Reference in a new issue