Skip to content

Commit

Permalink
Feat: forceUpdate
Browse files Browse the repository at this point in the history
  • Loading branch information
Pjiesco committed Oct 6, 2023
1 parent ee1d089 commit f93716d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,5 +48,5 @@ public class SentMessageHelper {
public static final String CONNECTOR_ID = "connectorId";
public static final String SHORT_ID = "shortId";
public static final String PARENT_GROUP = "parentGroup";

public static final String FORCE_UPDATE = "forceUpdate";
}
Original file line number Diff line number Diff line change
Expand Up @@ -905,6 +905,7 @@ public boolean sendCreateState(String categoryId, String stateId, String parentG
createStateMessage.addProperty(SentMessageHelper.ID, stateId);
createStateMessage.addProperty(SentMessageHelper.DESCRIPTION, description);
createStateMessage.addProperty(SentMessageHelper.DEFAULT_VALUE, valueStr);
createStateMessage.addProperty(SentMessageHelper.FORCE_UPDATE, true);
if (parentGroup == null || parentGroup.isEmpty()) {
classLoop:
for (Class<?> subClass : this.pluginClass.getDeclaredClasses()) {
Expand Down

0 comments on commit f93716d

Please sign in to comment.