We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8724323 commit 27d4fb0Copy full SHA for 27d4fb0
drivers/rhombus/security_interop.cr
@@ -50,6 +50,13 @@ class Rhombus::SecurityInterop < PlaceOS::Driver
50
security.door_list.get.each do |doors|
51
all_doors.concat doors.as_a
52
end
53
+
54
+ # only available on gallagher
55
+ # any errors will ignored and not included in the results
56
+ security.alarm_zones.get(raise_on_error: false).each do |zones|
57
+ all_doors.concat zones.as_a
58
+ end
59
60
{HTTP::Status::OK.to_i, {"Content-Type" => "application/json"}, {
61
doors: all_doors,
62
}.to_json}
0 commit comments