mirror of
https://github.com/esphome/esphome.git
synced 2025-10-31 23:21:54 +00:00
preen
This commit is contained in:
@@ -5,7 +5,7 @@ namespace ld2410 {
|
||||
|
||||
void DistanceResolutionSelect::control(const std::string &value) {
|
||||
this->publish_state(value);
|
||||
this->parent_->set_distance_resolution(state);
|
||||
this->parent_->set_distance_resolution(value);
|
||||
}
|
||||
|
||||
} // namespace ld2410
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace ld2412 {
|
||||
|
||||
void BaudRateSelect::control(const std::string &value) {
|
||||
this->publish_state(value);
|
||||
this->parent_->set_baud_rate(state);
|
||||
this->parent_->set_baud_rate(value);
|
||||
}
|
||||
|
||||
} // namespace ld2412
|
||||
|
||||
@@ -5,7 +5,7 @@ namespace ld2412 {
|
||||
|
||||
void DistanceResolutionSelect::control(const std::string &value) {
|
||||
this->publish_state(value);
|
||||
this->parent_->set_distance_resolution(state);
|
||||
this->parent_->set_distance_resolution(value);
|
||||
}
|
||||
|
||||
} // namespace ld2412
|
||||
|
||||
Reference in New Issue
Block a user