mirror of
https://github.com/danieldemus/openhab-core.git
synced 2026-07-29 12:34:22 +02:00
Allow cross-binding bridges when generating code for a thing (#5244)
Signed-off-by: Cody Cutrer <cody@cutrer.us>
This commit is contained in:
-6
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user