mirror of
				https://github.com/esphome/esphome.git
				synced 2025-10-31 15:12:06 +00:00 
			
		
		
		
	cleanups
This commit is contained in:
		| @@ -3,8 +3,8 @@ | ||||
| namespace esphome { | ||||
| namespace ld2410 { | ||||
|  | ||||
| void LightOutControlSelect::control(const std::string &value) { | ||||
|   this->publish_state(value); | ||||
| void LightOutControlSelect::control(size_t index) { | ||||
|   this->publish_state(index); | ||||
|   this->parent_->set_light_out_control(); | ||||
| } | ||||
|  | ||||
|   | ||||
| @@ -3,8 +3,8 @@ | ||||
| namespace esphome { | ||||
| namespace ld2412 { | ||||
|  | ||||
| void LightOutControlSelect::control(const std::string &value) { | ||||
|   this->publish_state(value); | ||||
| void LightOutControlSelect::control(size_t index) { | ||||
|   this->publish_state(index); | ||||
|   this->parent_->set_light_out_control(); | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user