1
0
mirror of https://github.com/esphome/esphome.git synced 2025-10-31 23:21:54 +00:00
This commit is contained in:
J. Nick Koston
2025-10-30 13:17:25 -05:00
parent b6d178b8c1
commit 6dff2d6240
2 changed files with 4 additions and 4 deletions

View File

@@ -3,8 +3,8 @@
namespace esphome { namespace esphome {
namespace ld2410 { namespace ld2410 {
void LightOutControlSelect::control(const std::string &value) { void LightOutControlSelect::control(size_t index) {
this->publish_state(value); this->publish_state(index);
this->parent_->set_light_out_control(); this->parent_->set_light_out_control();
} }

View File

@@ -3,8 +3,8 @@
namespace esphome { namespace esphome {
namespace ld2412 { namespace ld2412 {
void LightOutControlSelect::control(const std::string &value) { void LightOutControlSelect::control(size_t index) {
this->publish_state(value); this->publish_state(index);
this->parent_->set_light_out_control(); this->parent_->set_light_out_control();
} }