Skip to content

Commit

Permalink
Fix config normalization in ThingUpdatedEvent (#3157)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
  • Loading branch information
J-N-K authored Nov 13, 2022
1 parent 2bceba6 commit d4ceca9
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -610,6 +610,7 @@ public void thingRemoved(final Thing thing, ThingTrackerEvent thingTrackerEvent)
@SuppressWarnings("PMD.CompareObjectsWithEquals")
public void thingUpdated(Thing oldThing, Thing newThing, ThingTrackerEvent thingTrackerEvent) {
ThingUID thingUID = newThing.getUID();
normalizeThingConfiguration(oldThing);
normalizeThingConfiguration(newThing);
if (thingUpdatedLock.contains(thingUID)) {
// called from the thing handler itself, therefore
Expand Down

0 comments on commit d4ceca9

Please sign in to comment.