updated script

This commit is contained in:
IrynaMatveieva 2024-07-25 15:30:05 +03:00
parent 9699c98af6
commit 82801e25ae

View File

@ -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);