mirror of
https://github.com/esphome/esphome.git
synced 2024-12-22 21:44:55 +01:00
Dont keep logging on improv start (#4401)
This commit is contained in:
parent
ac6693f177
commit
a9dc491a54
1 changed files with 1 additions and 1 deletions
|
@ -195,7 +195,7 @@ void ESP32ImprovComponent::send_response_(std::vector<uint8_t> &response) {
|
|||
}
|
||||
|
||||
void ESP32ImprovComponent::start() {
|
||||
if (this->state_ != improv::STATE_STOPPED)
|
||||
if (this->should_start_ || this->state_ != improv::STATE_STOPPED)
|
||||
return;
|
||||
|
||||
ESP_LOGD(TAG, "Setting Improv to start");
|
||||
|
|
Loading…
Reference in a new issue