updated script
This commit is contained in:
		
							parent
							
								
									9699c98af6
								
							
						
					
					
						commit
						82801e25ae
					
				@ -252,9 +252,6 @@ public class TbDeviceProfileNode implements TbNode {
 | 
			
		||||
                String persistAlarmRulesState = "persistAlarmRulesState";
 | 
			
		||||
                String fetchAlarmRulesStateOnStart = "fetchAlarmRulesStateOnStart";
 | 
			
		||||
                if (oldConfiguration.has(persistAlarmRulesState)) {
 | 
			
		||||
 | 
			
		||||
                }
 | 
			
		||||
                if (oldConfiguration.has(fetchAlarmRulesStateOnStart)) {
 | 
			
		||||
                    if (!oldConfiguration.get(persistAlarmRulesState).asBoolean()) {
 | 
			
		||||
                        hasChanges = true;
 | 
			
		||||
                        ((ObjectNode) oldConfiguration).put(fetchAlarmRulesStateOnStart, false);
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user