Skip to content

Commit 95107e7

Browse files
committed
Added orb security button set
### ADDED - Button collection for when the system is disarming.
1 parent 0cb52b2 commit 95107e7

File tree

2 files changed

+14
-7
lines changed

2 files changed

+14
-7
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "homebridge-adt-pulse",
33
"displayName": "Homebridge ADT Pulse",
4-
"version": "3.2.0",
4+
"version": "3.2.1",
55
"description": "Homebridge security system platform for ADT Pulse",
66
"main": "./build/index.js",
77
"exports": "./build/index.js",

src/lib/items.ts

Lines changed: 13 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -65,32 +65,39 @@ export const collectionOrbSecurityButtons: CollectionOrbSecurityButtons = [
6565
loadingText: 'Arming Stay',
6666
},
6767
],
68+
[
69+
{
70+
buttonDisabled: false,
71+
buttonText: 'Disarm',
72+
loadingText: 'Disarming',
73+
},
74+
],
6875
[
6976
{
7077
buttonDisabled: true,
71-
buttonText: 'Arming Away',
78+
buttonText: 'Disarming',
7279
loadingText: null,
7380
},
7481
],
7582
[
7683
{
7784
buttonDisabled: true,
78-
buttonText: 'Arming Stay',
85+
buttonText: 'Arming Away',
7986
loadingText: null,
8087
},
8188
],
8289
[
8390
{
8491
buttonDisabled: true,
85-
buttonText: 'Arming Night',
92+
buttonText: 'Arming Stay',
8693
loadingText: null,
8794
},
8895
],
8996
[
9097
{
91-
buttonDisabled: false,
92-
buttonText: 'Disarm',
93-
loadingText: 'Disarming',
98+
buttonDisabled: true,
99+
buttonText: 'Arming Night',
100+
loadingText: null,
94101
},
95102
],
96103
[

0 commit comments

Comments
 (0)