clang-format
This commit is contained in:
parent
bc7a59b75b
commit
9d8e5dae56
|
@ -27,7 +27,6 @@ namespace ratgdo {
|
|||
std::vector<std::function<void(Ts...)>> callbacks_;
|
||||
};
|
||||
|
||||
|
||||
template <typename... X>
|
||||
class ExpiringCallbacks;
|
||||
|
||||
|
@ -70,6 +69,5 @@ namespace ratgdo {
|
|||
std::vector<std::pair<uint32_t, std::function<void(Ts...)>>> callbacks_;
|
||||
};
|
||||
|
||||
|
||||
} // namespace ratgdo
|
||||
} // namespace esphome
|
||||
|
|
|
@ -198,7 +198,7 @@ namespace ratgdo {
|
|||
}
|
||||
|
||||
if (learn_state == LearnState::INACTIVE) {
|
||||
defer([=](){ this->query_paired_devices(); });
|
||||
defer([=]() { this->query_paired_devices(); });
|
||||
}
|
||||
|
||||
this->learn_state = learn_state;
|
||||
|
@ -249,7 +249,7 @@ namespace ratgdo {
|
|||
this->motion_state = MotionState::CLEAR;
|
||||
});
|
||||
if (*this->light_state == LightState::OFF) {
|
||||
defer([=]() {this->query_status(); });
|
||||
defer([=]() { this->query_status(); });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue