mirror of
https://github.com/openshwprojects/OpenBK7231T_App.git
synced 2026-03-10 09:17:57 +01:00
Adjusted comment
This commit is contained in:
@@ -2557,8 +2557,8 @@ int http_fn_cfg_pins(http_request_t* request) {
|
||||
//CFG_Save_SetupTimer();
|
||||
CFG_Save_IfThereArePendingChanges();
|
||||
|
||||
//Invoke Hass discovery if configuration has changed
|
||||
if(!bSafeMode && CFG_HasFlag(OBK_FLAG_AUTOMAIC_HASS_DISCOVERY)) {
|
||||
// Invoke Hass discovery if configuration has changed and not in safe mode.
|
||||
if (!bSafeMode && CFG_HasFlag(OBK_FLAG_AUTOMAIC_HASS_DISCOVERY)) {
|
||||
Main_ScheduleHomeAssistantDiscovery(1);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user