fix
This commit is contained in:
parent
aa26aefde3
commit
bb9eddf973
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue