Skip to content

Commit

Permalink
Fix config normalization in ThingUpdatedEvent (openhab#3157)
Browse files Browse the repository at this point in the history
Signed-off-by: Jan N. Klug <[email protected]>
GitOrigin-RevId: d4ceca9
  • Loading branch information
J-N-K authored and splatch committed Jul 12, 2023
1 parent 14eb1e2 commit f3ccac8
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 f3ccac8

Please sign in to comment.