From d4ceca9fe0ecc45686ded18573beacc4d8401342 Mon Sep 17 00:00:00 2001 From: J-N-K Date: Sun, 13 Nov 2022 10:44:30 +0100 Subject: [PATCH] Fix config normalization in ThingUpdatedEvent (#3157) Signed-off-by: Jan N. Klug --- .../java/org/openhab/core/thing/internal/ThingManagerImpl.java | 1 + 1 file changed, 1 insertion(+) diff --git a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/internal/ThingManagerImpl.java b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/internal/ThingManagerImpl.java index a53a7171ba..70cce8f606 100644 --- a/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/internal/ThingManagerImpl.java +++ b/bundles/org.openhab.core.thing/src/main/java/org/openhab/core/thing/internal/ThingManagerImpl.java @@ -610,6 +610,7 @@ public class ThingManagerImpl @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