homebridge-securitysystem 8.3.0-beta.3 → 8.3.1-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -24,4 +24,4 @@ jobs:
|
|
|
24
24
|
stale-pr-message: "This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in a few days if no further activity occurs. Thank you for your contributions."
|
|
25
25
|
stale-issue-label: "stale"
|
|
26
26
|
stale-pr-label: "stale"
|
|
27
|
-
exempt-issue-labels: "feature,enhancement"
|
|
27
|
+
exempt-issue-labels: "feature,enhancement,unsupported"
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-securitysystem",
|
|
3
3
|
"displayName": "Homebridge Security System",
|
|
4
|
-
"version": "8.3.
|
|
4
|
+
"version": "8.3.1-beta.1",
|
|
5
5
|
"description": "Homebridge plugin that creates a security system accessory that can be triggered by HomeKit sensors.",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"scripts": {
|
package/src/utils/options.js
CHANGED
|
@@ -51,11 +51,11 @@ const options = {
|
|
|
51
51
|
options.nightTriggerSeconds = config.night_trigger_seconds;
|
|
52
52
|
|
|
53
53
|
// Trip switches
|
|
54
|
-
options.tripSwitch = config.trip_switch
|
|
54
|
+
options.tripSwitch = config.trip_switch ?? config.siren_switch;
|
|
55
55
|
options.tripOverrideSwitch =
|
|
56
|
-
config.trip_override_switch
|
|
56
|
+
config.trip_override_switch ?? config.siren_override_switch;
|
|
57
57
|
options.tripModeSwitches =
|
|
58
|
-
config.trip_mode_switches
|
|
58
|
+
config.trip_mode_switches ?? config.siren_mode_switches;
|
|
59
59
|
|
|
60
60
|
// Arming lock switch
|
|
61
61
|
options.armingLockSwitch = config.arming_lock_switch;
|
|
@@ -70,9 +70,9 @@ const options = {
|
|
|
70
70
|
|
|
71
71
|
// Triggered motion sensor
|
|
72
72
|
options.triggeredMotionSensor =
|
|
73
|
-
config.triggered_sensor
|
|
73
|
+
config.triggered_sensor ?? config.siren_sensor;
|
|
74
74
|
options.triggeredMotionSensorSeconds =
|
|
75
|
-
config.triggered_sensor_seconds
|
|
75
|
+
config.triggered_sensor_seconds ?? config.siren_sensor_seconds;
|
|
76
76
|
|
|
77
77
|
// Reset motion sensor
|
|
78
78
|
options.resetSensor = config.reset_sensor;
|