@@ -697,9 +697,6 @@ void NukiLockComponent::update_auth_data() {
697
697
ESP_LOGD (TAG, " Authorization entry[%d] type: %d name: %s" , entry.authId , entry.idType , entry.name );
698
698
this ->auth_entries_ [entry.authId ] = std::string (reinterpret_cast <const char *>(entry.name ));
699
699
}
700
-
701
- // Request Event logs when Auth Data is available
702
- this ->event_log_update_ = true ;
703
700
} else {
704
701
ESP_LOGW (TAG, " No auth entries! Did you set the security pin?" );
705
702
}
@@ -994,6 +991,7 @@ void NukiLockComponent::setup() {
994
991
this ->advanced_config_update_ = true ;
995
992
if (this ->send_events_ ) {
996
993
this ->auth_data_update_ = true ;
994
+ this ->event_log_update_ = true ;
997
995
}
998
996
999
997
ESP_LOGI (TAG, " %s Nuki paired" , this ->deviceName_ .c_str ());
@@ -1492,6 +1490,8 @@ void NukiLockComponent::set_config_select(const char* config, const char* value)
1492
1490
1493
1491
this ->config_update_ = !is_advanced;
1494
1492
this ->advanced_config_update_ = is_advanced;
1493
+ } else {
1494
+ ESP_LOGW (TAG, " Saving setting failed: %s" , config);
1495
1495
}
1496
1496
}
1497
1497
#endif
@@ -1571,6 +1571,8 @@ void NukiLockComponent::set_config_switch(const char* config, bool value) {
1571
1571
1572
1572
this ->config_update_ = !is_advanced;
1573
1573
this ->advanced_config_update_ = is_advanced;
1574
+ } else {
1575
+ ESP_LOGW (TAG, " Saving setting failed: %s" , config);
1574
1576
}
1575
1577
}
1576
1578
#endif
@@ -1598,6 +1600,8 @@ void NukiLockComponent::set_config_number(const char* config, float value) {
1598
1600
1599
1601
this ->config_update_ = !is_advanced;
1600
1602
this ->advanced_config_update_ = is_advanced;
1603
+ } else {
1604
+ ESP_LOGW (TAG, " Saving setting failed: %s" , config);
1601
1605
}
1602
1606
}
1603
1607
#endif
0 commit comments