1
0
mirror of https://github.com/esphome/esphome.git synced 2025-11-01 15:41:52 +00:00
This commit is contained in:
J. Nick Koston
2025-10-30 12:39:18 -05:00
parent cf99bab87b
commit 5f4f6ced32
3 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

@@ -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

View File

@@ -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