mirror of
https://github.com/esphome/esphome.git
synced 2024-11-23 23:48:11 +01:00
[midea] apply suggested clang formatting
This commit is contained in:
parent
fb15a2a717
commit
98c53d6c6f
4 changed files with 11 additions and 6 deletions
|
@ -23,7 +23,8 @@ template<typename... Ts> class FollowMeAction : public MideaActionBase<Ts...> {
|
||||||
TEMPLATABLE_VALUE(bool, beeper)
|
TEMPLATABLE_VALUE(bool, beeper)
|
||||||
|
|
||||||
void play(Ts... x) override {
|
void play(Ts... x) override {
|
||||||
this->parent_->do_follow_me(this->temperature_.value(x...), this->fahrenheit_.value(x...), this->beeper_.value(x...));
|
this->parent_->do_follow_me(this->temperature_.value(x...), this->fahrenheit_.value(x...),
|
||||||
|
this->beeper_.value(x...));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -58,9 +58,11 @@ class IrFollowMeData : public IrData {
|
||||||
static const uint8_t MIN_TEMP_C = 0;
|
static const uint8_t MIN_TEMP_C = 0;
|
||||||
static const uint8_t MAX_TEMP_C = 37;
|
static const uint8_t MAX_TEMP_C = 37;
|
||||||
|
|
||||||
// see https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L116
|
// see
|
||||||
|
// https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L116
|
||||||
static const uint8_t MIN_TEMP_F = 32;
|
static const uint8_t MIN_TEMP_F = 32;
|
||||||
// see https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L117
|
// see
|
||||||
|
// https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L117
|
||||||
static const uint8_t MAX_TEMP_F = 99;
|
static const uint8_t MAX_TEMP_F = 99;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -104,9 +104,11 @@ class FollowMeData : public MideaData {
|
||||||
static const uint8_t MIN_TEMP_C = 0;
|
static const uint8_t MIN_TEMP_C = 0;
|
||||||
static const uint8_t MAX_TEMP_C = 37;
|
static const uint8_t MAX_TEMP_C = 37;
|
||||||
|
|
||||||
// see https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L116
|
// see
|
||||||
|
// https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L116
|
||||||
static const uint8_t MIN_TEMP_F = 32;
|
static const uint8_t MIN_TEMP_F = 32;
|
||||||
// see https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L117
|
// see
|
||||||
|
// https://github.com/crankyoldgit/IRremoteESP8266/blob/9bdf8abcb465268c5409db99dc83a26df64c7445/src/ir_Midea.h#L117
|
||||||
static const uint8_t MAX_TEMP_F = 99;
|
static const uint8_t MAX_TEMP_F = 99;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue