Allow cross-binding bridges when generating code for a thing (#5244)

Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
Cody Cutrer
2026-01-03 22:03:55 +01:00
committed by GitHub
parent 5f074e3c98
commit a259c44e3c
@@ -814,12 +814,6 @@ public class FileFormatResource implements RESTResource {
if (thingData.bridgeUID != null) {
bridgeUID = new ThingUID(thingData.bridgeUID);
if (thingUID != null && !thingUID.getBindingId().equals(bridgeUID.getBindingId())) {
errors.add("Thing UID '" + thingUID + "' and bridge UID '" + bridgeUID
+ "' are from different bindings");
ok = false;
continue;
}
}
// turn the ThingDTO's configuration into a Configuration