1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 15:12:06 +00:00
This commit is contained in:
J. Nick Koston
2025-10-30 12:43:50 -05:00
parent 5f4f6ced32
commit 29887e1da5
3 changed files with 3 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ void CopySelect::setup() {
traits.set_options(source_->traits.get_options());
if (source_->has_state())
this->publish_state(source_->current_option());
this->publish_state(source_->active_index().value());
}
void CopySelect::dump_config() { LOG_SELECT("", "Copy Select", this); }

View File

@@ -5,7 +5,7 @@ namespace ld2450 {
void BaudRateSelect::control(const std::string &value) {
this->publish_state(value);
this->parent_->set_baud_rate(state);
this->parent_->set_baud_rate(value);
}
} // namespace ld2450

View File

@@ -5,7 +5,7 @@ namespace ld2450 {
void ZoneTypeSelect::control(const std::string &value) {
this->publish_state(value);
this->parent_->set_zone_type(state);
this->parent_->set_zone_type(value);
}
} // namespace ld2450