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