mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-19 16:41:53 +00:00
Update null numberoflogmessages
This commit is contained in:
@@ -142,6 +142,9 @@ public class BridgeSettings extends BackupHandler {
|
|||||||
if(theBridgeSettings.getUpnpDeviceDb() == null)
|
if(theBridgeSettings.getUpnpDeviceDb() == null)
|
||||||
theBridgeSettings.setUpnpDeviceDb(Configuration.DEVICE_DB_DIRECTORY);
|
theBridgeSettings.setUpnpDeviceDb(Configuration.DEVICE_DB_DIRECTORY);
|
||||||
|
|
||||||
|
if(theBridgeSettings.getNumberoflogmessages() == null)
|
||||||
|
theBridgeSettings.setNumberoflogmessages(Configuration.NUMBER_OF_LOG_MESSAGES);
|
||||||
|
|
||||||
if(theBridgeSettings.getButtonsleep() <= 0)
|
if(theBridgeSettings.getButtonsleep() <= 0)
|
||||||
theBridgeSettings.setButtonsleep(Integer.parseInt(Configuration.DEFAULT_BUTTON_SLEEP));
|
theBridgeSettings.setButtonsleep(Integer.parseInt(Configuration.DEFAULT_BUTTON_SLEEP));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user