Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Mar 24, 2024
1 parent c4d8bb6 commit da7d302
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/nuki_lock/nuki_lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -620,17 +620,17 @@ namespace esphome

void NukiLockComponent::add_pairing_mode_on_callback(std::function<void()> &&callback)
{
this->pairing_mode_on_callback_.add(std::move(callback));
this->parent_->pairing_mode_on_callback_.add(std::move(callback));
}

void NukiLockComponent::add_pairing_mode_off_callback(std::function<void()> &&callback)
{
this->pairing_mode_off_callback_.add(std::move(callback));
this->parent_->pairing_mode_off_callback_.add(std::move(callback));
}

void NukiLockComponent::add_paired_callback(std::function<void()> &&callback)
{
this->paired_callback_.add(std::move(callback));
this->parent_->paired_callback_.add(std::move(callback));
}

} //namespace nuki_lock
Expand Down

0 comments on commit da7d302

Please sign in to comment.