Skip to content

Commit cb42343

Browse files
authored
YAML item proviuder: fix method isVersionSupported (#4820)
Required after the merge of PR #4807 and PR #4776 Signed-off-by: Laurent Garnier <[email protected]>
1 parent f6b6af7 commit cb42343

File tree

1 file changed

+1
-1
lines changed
  • bundles/org.openhab.core.model.yaml/src/main/java/org/openhab/core/model/yaml/internal/items

1 file changed

+1
-1
lines changed

bundles/org.openhab.core.model.yaml/src/main/java/org/openhab/core/model/yaml/internal/items/YamlItemProvider.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public Class<YamlItemDTO> getElementClass() {
8989

9090
@Override
9191
public boolean isVersionSupported(int version) {
92-
return version >= 2;
92+
return version >= 1;
9393
}
9494

9595
@Override

0 commit comments

Comments
 (0)