File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ Settings::Settings() {
4040 homeAssistantPort = preferences.getInt (" ha_p" , 1883 );
4141 homeAssistantUser = preferences.getString (" ha_u" , " " );
4242 homeAssistantPassword = preferences.getString (" ha_pw" , " " );
43- standbyTimeout = preferences.getInt (" st " , 0 );
43+ standbyTimeout = preferences.getInt (" sbt " , DEFAULT_STANDBY_TIMEOUT_MS );
4444 timezone = preferences.getString (" tz" , DEFAULT_TIMEZONE);
4545 preferences.end ();
4646
@@ -280,7 +280,7 @@ void Settings::doSave() {
280280 preferences.putString (" ha_u" , homeAssistantUser);
281281 preferences.putString (" ha_pw" , homeAssistantPassword);
282282 preferences.putString (" tz" , timezone);
283- preferences.putInt (" st " , standbyTimeout);
283+ preferences.putInt (" sbt " , standbyTimeout);
284284 preferences.end ();
285285}
286286
You can’t perform that action at this time.
0 commit comments