Skip to content

Commit

Permalink
Add field for lift_gate:type (#711)
Browse files Browse the repository at this point in the history
  • Loading branch information
arch0345 authored Jan 23, 2023
1 parent 720d973 commit 06e2375
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
15 changes: 15 additions & 0 deletions data/fields/lift_gate/type.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"key": "lift_gate:type",
"type": "combo",
"label": "Type",
"strings": {
"options": {
"single": "Single Bar",
"double": "Opposing Bars"
}
},
"reference": {
"key": "barrier",
"value": "lift_gate"
}
}
5 changes: 3 additions & 2 deletions data/presets/barrier/lift_gate.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"icon": "temaki-lift_gate",
"fields": [
"lift_gate/type",
"access",
"locked",
"opening_hours"
Expand All @@ -16,11 +17,11 @@
"barrier": "lift_gate"
},
"terms": [
"boom barrier",
"boom gate",
"boom lift",
"hinged bar",
"lift gate",
"pivoted pole"
],
"name": "Lift Gate"
"name": "Boom Barrier"
}

0 comments on commit 06e2375

Please sign in to comment.