Skip to content

Commit

Permalink
Feat: forceUpdate (#64)
Browse files Browse the repository at this point in the history
Co-authored-by: Christophe Carvalho Vilas-Boas <[email protected]>
  • Loading branch information
Pjiesco and ChristopheCVB authored Oct 6, 2023
1 parent 170d483 commit 1964ce0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ 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";
public static final String EVENT_ID = "eventId";
public static final String STATES = "states";

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -904,6 +904,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 1964ce0

Please sign in to comment.