Skip to content

Commit

Permalink
[linuxinput] Use proper representationproperty
Browse files Browse the repository at this point in the history
  • Loading branch information
t-8ch committed May 2, 2021
1 parent 4ad25b9 commit a15b125
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ private void handleFile(File file, @Nullable Duration ttl) {
return;
}
DiscoveryResultBuilder result = DiscoveryResultBuilder.create(new ThingUID(THING_TYPE_DEVICE, file.getName()))
.withProperty("path", file.getAbsolutePath()).withRepresentationProperty(file.getName());
.withProperty("path", file.getAbsolutePath()).withRepresentationProperty("path");
if (ttl != null) {
result = result.withTTL(ttl.getSeconds());
}
Expand Down

0 comments on commit a15b125

Please sign in to comment.