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