This commit is contained in:
J. Nick Koston 2023-06-09 16:00:09 -05:00
parent aa26aefde3
commit bb9eddf973
No known key found for this signature in database
1 changed files with 2 additions and 2 deletions

View File

@ -23,9 +23,9 @@ namespace ratgdo {
{
ESP_LOGD(TAG, "name: %s this->type_:%d state: %d", this->get_name(), this->switch_type_, state);
if (state) {
this->parent_->lock(value);
this->parent_->lock();
} else {
this->parent_->unlock(value);
this->parent_->unlock();
}
}