Skip to content

Commit a6972ca

Browse files
committed
bring Characteristic JSON in line with spec
* events is actually called ev * there is no bonjour field
1 parent e449fcf commit a6972ca

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/beowulfe/hap/characteristics/BaseCharacteristic.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,7 @@ protected CompletableFuture<JsonObjectBuilder> makeBuilder(int instanceId) {
9797
.add("type", type)
9898
.add("perms", perms.build())
9999
.add("format", format)
100-
.add("events", false)
101-
.add("bonjour", false)
100+
.add("ev", false)
102101
.add("description", description);
103102
setJsonValue(builder, value);
104103
return builder;

0 commit comments

Comments
 (0)