Skip to content

Commit

Permalink
More Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AzonInc committed Oct 24, 2024
1 parent 84b1ad4 commit 0372c6e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions components/nuki_lock/nuki_lock.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -854,11 +854,11 @@ void NukiLockUnpairButton::press_action() {
}
#endif
#ifdef USE_SELECT
void NukiLockSingleButtonPressActionSelect::control(const std::string &state) {
this->parent_->set_single_button_press_action(value);
void NukiLockSingleButtonPressActionSelect::control(const std::string &action) {
this->parent_->set_single_button_press_action(action);
}
void NukiLockDoubleButtonPressActionSelect::control(const std::string &state) {
this->parent_->set_double_button_press_action(value);
void NukiLockDoubleButtonPressActionSelect::control(const std::string &action) {
this->parent_->set_double_button_press_action(action);
}
#endif
#ifdef USE_SWITCH
Expand Down

0 comments on commit 0372c6e

Please sign in to comment.