Skip to content

Commit

Permalink
Add json editor autocomplete for devices (#112)
Browse files Browse the repository at this point in the history
  • Loading branch information
sikmir committed Apr 26, 2024
1 parent cf19d3b commit 0969ea0
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
6 changes: 6 additions & 0 deletions debian/changelog
@@ -1,3 +1,9 @@
wb-rules (2.20.9) stable; urgency=medium

* Add json editor autocomplete for devices

-- Nikolay Korotkiy <nikolay.korotkiy@wirenboard.com> Thu, 25 Apr 2024 18:00:00 +0400

wb-rules (2.20.8) stable; urgency=medium

* Wiren Board 8 support
Expand Down
8 changes: 7 additions & 1 deletion rules/alarms.schema.json
Expand Up @@ -78,7 +78,13 @@
"description": "Use the following format: device/control",
"pattern": "^[^/+#]+/[^/+#]+$",
"minLength": 3,
"propertyOrder": 2
"propertyOrder": 2,
"options": {
"wb": {
"data": "devices"
}
},
"format": "wb-autocomplete"
},
"alarmMessage": {
"type": "string",
Expand Down

0 comments on commit 0969ea0

Please sign in to comment.