mirror of
https://github.com/esphome/esphome.git
synced 2025-10-14 15:53:48 +01:00
Merge branch 'light_validation_dupe_code' into integration
This commit is contained in:
@@ -301,7 +301,7 @@ LightColorValues LightCall::validate_() {
|
|||||||
|
|
||||||
// Flash length check
|
// Flash length check
|
||||||
if (this->has_flash_() && this->flash_length_ == 0) {
|
if (this->has_flash_() && this->flash_length_ == 0) {
|
||||||
log_invalid_parameter(name, LOG_STR("flash length must be >= zero"));
|
log_invalid_parameter(name, LOG_STR("flash length must be >0"));
|
||||||
this->clear_flag_(FLAG_HAS_FLASH);
|
this->clear_flag_(FLAG_HAS_FLASH);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user