mirror of
				https://github.com/esphome/esphome.git
				synced 2025-11-04 00:51:49 +00:00 
			
		
		
		
	Nextion brightness setting requires an assignment (#3533)
This commit is contained in:
		@@ -115,7 +115,7 @@ void Nextion::set_backlight_brightness(float brightness) {
 | 
				
			|||||||
    ESP_LOGD(TAG, "Brightness out of bounds, percentage range 0-1.0");
 | 
					    ESP_LOGD(TAG, "Brightness out of bounds, percentage range 0-1.0");
 | 
				
			||||||
    return;
 | 
					    return;
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
  this->add_no_result_to_queue_with_set("backlight_brightness", "dim", static_cast<int>(brightness * 100));
 | 
					  this->add_no_result_to_queue_with_printf_("backlight_brightness", "dim=%d", static_cast<int>(brightness * 100));
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
					
 | 
				
			||||||
void Nextion::set_auto_wake_on_touch(bool auto_wake) {
 | 
					void Nextion::set_auto_wake_on_touch(bool auto_wake) {
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user