@@ -1422,6 +1422,7 @@ def uninstalled() {
14221422void appCleanup () {
14231423 logTrace(" appCleanup" )
14241424 List items = [
1425+ " alexaGuardAwayToggle" , " alexaGuardData" , " alexaGuardDataSrc" , " alexaGuardState" , " alexaGuardSupported" ,
14251426 " availableDevices" , " consecutiveCmdCnt" , " isRateLimiting" , " versionData" , " heartbeatScheduled" , " serviceAuthenticated" , " cookie" , " misPollNotifyWaitVal" , " misPollNotifyMsgWaitVal" ,
14261427 " updNotifyWaitVal" , " lastDevActivity" , " devSupMap" , " tempDevSupData" , " devTypeIgnoreData" , " codeVersion" ,
14271428 " warnHistory" , " errorHistory" , " bluetoothData" , " dndData" , " zoneStatusMap" , " lastMsg" , " websocketActive"
@@ -1434,8 +1435,12 @@ void appCleanup() {
14341435 state. deviceRefreshInProgress = false
14351436
14361437 // Settings Cleanup
1437- List<String > setItems = [" performBroadcast" , " stHub" , " cookieRefreshDays" ]
1438- settings?. each { si -> [" music" , " tunein" , " announce" , " perform" , " broadcast" , " sequence" , " speech" , " test_" ]. each { String swi -> if (si. key?. startsWith(swi)) { setItems. push(si?. key as String ) } } }
1438+ List<String > setItems = [" performBroadcast" , " stHub" , " cookieRefreshDays" , " alexaGuardAwayToggle" ]
1439+ settings?. each { si ->
1440+ [" guard" , " music" , " tunein" , " announce" , " perform" , " broadcast" , " sequence" , " speech" , " test_" ]. each { String swi ->
1441+ if (si. key?. startsWith(swi)) { setItems. push(si?. key as String ) }
1442+ }
1443+ }
14391444 setItems. unique(). sort(). each { String sI -> if (settings?. containsKey(sI)) { settingRemove(sI) } }
14401445 cleanUpdVerMap()
14411446}
@@ -7305,4 +7310,4 @@ public static Map getAppDuplTypes() { return appDuplicationTypesMapFLD }
73057310 ]
73067311]
73077312
7308- private Long wnow (){ return (Long )now() }
7313+ private Long wnow (){ return (Long )now() }
0 commit comments