[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-07-03 01:00:03 +00:00
parent 7e13ec4430
commit 80e547d4ef
1 changed files with 4 additions and 4 deletions

View File

@ -460,9 +460,9 @@ namespace ratgdo {
return;
}
if(this->obstruction_sensor_detected_){
if (this->obstruction_sensor_detected_) {
this->door_action(DoorAction::CLOSE);
}else if(*this->door_state == DoorState::OPEN){
} else if (*this->door_state == DoorState::OPEN) {
ESP_LOGD(TAG, "No obstruction sensors detected. Close using TOGGLE.");
this->door_action(DoorAction::TOGGLE);
}