Skip to content

Commit

Permalink
Fix for multiple tags and HomeKit
Browse files Browse the repository at this point in the history
Fixes openhab#1074

Signed-off-by: Andy Lintner <dev@beowulfe.com>
  • Loading branch information
andylintner committed Jul 21, 2016
1 parent a3689b2 commit 64a9b41
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,9 @@ public HomekitTaggedItem(Item item, ItemRegistry itemRegistry) {
if (homekitDeviceType == null) {
homekitCharacteristicType = HomekitCharacteristicType.valueOfTag(tag);
}
if (homekitDeviceType != null || homekitCharacteristicType != null) {
break;
}
}
if (homekitDeviceType != null) {
this.id = calculateId(item);
Expand Down

0 comments on commit 64a9b41

Please sign in to comment.