mirror of
https://github.com/esphome/esphome.git
synced 2025-10-18 09:43:47 +01:00
Update esphome/components/light/light_call.cpp
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -301,7 +301,7 @@ LightColorValues LightCall::validate_() {
|
||||
|
||||
// Flash length check
|
||||
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);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user