homebridge-dummy 1.2.0 → 1.3.0-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.
- package/CHANGELOG.md +13 -5
- package/README.md +61 -24
- package/config.schema.json +92 -0
- package/dist/accessory/base.d.ts +2 -2
- package/dist/accessory/base.js +12 -7
- package/dist/accessory/base.js.map +1 -1
- package/dist/accessory/group.d.ts +1 -1
- package/dist/accessory/group.js +2 -2
- package/dist/accessory/group.js.map +1 -1
- package/dist/accessory/helpers.d.ts +1 -1
- package/dist/accessory/helpers.js +9 -9
- package/dist/accessory/helpers.js.map +1 -1
- package/dist/accessory/lock.d.ts +1 -1
- package/dist/accessory/lock.js +22 -16
- package/dist/accessory/lock.js.map +1 -1
- package/dist/accessory/onoff/lightbulb.d.ts +1 -1
- package/dist/accessory/onoff/lightbulb.js +16 -11
- package/dist/accessory/onoff/lightbulb.js.map +1 -1
- package/dist/accessory/onoff/onoff.d.ts +1 -1
- package/dist/accessory/onoff/onoff.js +17 -14
- package/dist/accessory/onoff/onoff.js.map +1 -1
- package/dist/accessory/position/position.d.ts +1 -1
- package/dist/accessory/position/position.js +22 -16
- package/dist/accessory/position/position.js.map +1 -1
- package/dist/accessory/sensor.d.ts +0 -1
- package/dist/accessory/sensor.js +6 -4
- package/dist/accessory/sensor.js.map +1 -1
- package/dist/accessory/thermostat.d.ts +1 -1
- package/dist/accessory/thermostat.js +33 -20
- package/dist/accessory/thermostat.js.map +1 -1
- package/dist/homebridge/platform.js +4 -3
- package/dist/homebridge/platform.js.map +1 -1
- package/dist/homebridge-ui/public/index.html +1 -1
- package/dist/homebridge-ui/public/ui.js +1 -1
- package/dist/i18n/en.d.ts +94 -67
- package/dist/i18n/en.js +94 -67
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/i18n.d.ts +95 -69
- package/dist/i18n/i18n.js +0 -6
- package/dist/i18n/i18n.js.map +1 -1
- package/dist/i18n/template.d.ts +96 -69
- package/dist/i18n/template.js +2 -2
- package/dist/i18n/template.js.map +1 -1
- package/dist/model/enums.d.ts +17 -2
- package/dist/model/enums.js +30 -2
- package/dist/model/enums.js.map +1 -1
- package/dist/model/types.d.ts +8 -1
- package/dist/model/webhook.js +6 -1
- package/dist/model/webhook.js.map +1 -1
- package/dist/timeout/limiter.d.ts +18 -0
- package/dist/timeout/limiter.js +147 -0
- package/dist/timeout/limiter.js.map +1 -0
- package/dist/timeout/schedule.d.ts +0 -1
- package/dist/timeout/schedule.js +11 -6
- package/dist/timeout/schedule.js.map +1 -1
- package/dist/timeout/timeout.d.ts +6 -2
- package/dist/timeout/timeout.js +62 -58
- package/dist/timeout/timeout.js.map +1 -1
- package/dist/timeout/timer.d.ts +1 -1
- package/dist/timeout/timer.js +13 -5
- package/dist/timeout/timer.js.map +1 -1
- package/dist/tools/storage.d.ts +14 -5
- package/dist/tools/storage.js +35 -20
- package/dist/tools/storage.js.map +1 -1
- package/package.json +4 -8
- package/dist/i18n/zz.d.ts +0 -206
- package/dist/i18n/zz.js +0 -6
- package/dist/i18n/zz.js.map +0 -1
package/dist/i18n/en.d.ts
CHANGED
|
@@ -1,72 +1,78 @@
|
|
|
1
1
|
declare const en: {
|
|
2
2
|
accessory: {
|
|
3
|
+
badValueType: string;
|
|
3
4
|
invalidCron: string;
|
|
4
5
|
missingRequired: string;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
6
|
+
};
|
|
7
|
+
command: {
|
|
8
|
+
error: string;
|
|
9
|
+
executed: string;
|
|
10
|
+
};
|
|
11
|
+
lightbulb: {
|
|
12
|
+
brightness: string;
|
|
13
|
+
stateOn: string;
|
|
14
|
+
};
|
|
15
|
+
limiter: {
|
|
16
|
+
badPeriod: string;
|
|
17
|
+
badUnits: string;
|
|
18
|
+
expired: string;
|
|
19
|
+
limitExceedsPeriod: string;
|
|
20
|
+
remainingDayPlus: string;
|
|
21
|
+
remainingHours: string;
|
|
22
|
+
remainingMinutes: string;
|
|
23
|
+
remainingSeconds: string;
|
|
24
|
+
};
|
|
25
|
+
lock: {
|
|
26
|
+
badDefault: string;
|
|
27
|
+
secured: string;
|
|
28
|
+
unsecured: string;
|
|
29
|
+
};
|
|
30
|
+
onOff: {
|
|
31
|
+
stateOff: string;
|
|
32
|
+
stateOn: string;
|
|
33
|
+
};
|
|
34
|
+
position: {
|
|
35
|
+
badDefault: string;
|
|
36
|
+
closed: string;
|
|
37
|
+
open: string;
|
|
38
|
+
};
|
|
39
|
+
schedule: {
|
|
40
|
+
badType: string;
|
|
41
|
+
badUnits: string;
|
|
42
|
+
cron: string;
|
|
43
|
+
intervalMilliseconds: string;
|
|
44
|
+
intervalSeconds: string;
|
|
45
|
+
intervalMinutes: string;
|
|
46
|
+
intervalHours: string;
|
|
47
|
+
};
|
|
48
|
+
thermostat: {
|
|
49
|
+
auto: string;
|
|
50
|
+
badDefault: string;
|
|
51
|
+
badUnits: string;
|
|
52
|
+
cool: string;
|
|
53
|
+
heat: string;
|
|
54
|
+
off: string;
|
|
55
|
+
temperatureC: string;
|
|
56
|
+
temperatureF: string;
|
|
57
|
+
unsupportedFunction: string;
|
|
58
|
+
};
|
|
59
|
+
timer: {
|
|
60
|
+
badUnits: string;
|
|
61
|
+
cancel: string;
|
|
62
|
+
setMilliseconds: string;
|
|
63
|
+
setSeconds: string;
|
|
64
|
+
setMinutes: string;
|
|
65
|
+
setHours: string;
|
|
49
66
|
};
|
|
50
67
|
config: {
|
|
51
|
-
migrate: string;
|
|
52
|
-
migrationDetails1: string;
|
|
53
|
-
migrationDetails2: string;
|
|
54
|
-
migrationDetails3: string;
|
|
55
|
-
migrationDetails4: string;
|
|
56
|
-
migrationDetails5: string;
|
|
57
|
-
migrationRestartTitle: string;
|
|
58
|
-
migrationRestartDescription: string;
|
|
59
|
-
support: string;
|
|
60
|
-
thankYou: string;
|
|
61
|
-
yes: string;
|
|
62
|
-
no: string;
|
|
63
68
|
description: {
|
|
64
69
|
commands: string;
|
|
65
70
|
cron: string;
|
|
71
|
+
limiter: string;
|
|
66
72
|
random: string;
|
|
67
|
-
timerControlled: string;
|
|
68
|
-
timer: string;
|
|
69
73
|
schedule: string;
|
|
74
|
+
timer: string;
|
|
75
|
+
timerControlled: string;
|
|
70
76
|
};
|
|
71
77
|
enumNames: {
|
|
72
78
|
auto: string;
|
|
@@ -79,9 +85,11 @@ declare const en: {
|
|
|
79
85
|
cron: string;
|
|
80
86
|
custom: string;
|
|
81
87
|
daily: string;
|
|
88
|
+
day: string;
|
|
82
89
|
door: string;
|
|
83
90
|
fahrenheit: string;
|
|
84
91
|
heat: string;
|
|
92
|
+
hour: string;
|
|
85
93
|
hourly: string;
|
|
86
94
|
hours: string;
|
|
87
95
|
interval: string;
|
|
@@ -89,9 +97,10 @@ declare const en: {
|
|
|
89
97
|
lightbulb: string;
|
|
90
98
|
lockMechanism: string;
|
|
91
99
|
minutely: string;
|
|
100
|
+
month: string;
|
|
92
101
|
monthly: string;
|
|
93
|
-
off: string;
|
|
94
102
|
occupancySensor: string;
|
|
103
|
+
off: string;
|
|
95
104
|
on: string;
|
|
96
105
|
open: string;
|
|
97
106
|
outlet: string;
|
|
@@ -105,6 +114,7 @@ declare const en: {
|
|
|
105
114
|
switch: string;
|
|
106
115
|
thermostat: string;
|
|
107
116
|
unsecured: string;
|
|
117
|
+
week: string;
|
|
108
118
|
weekdays: string;
|
|
109
119
|
weekends: string;
|
|
110
120
|
weekly: string;
|
|
@@ -112,16 +122,28 @@ declare const en: {
|
|
|
112
122
|
windowCovering: string;
|
|
113
123
|
yearly: string;
|
|
114
124
|
};
|
|
125
|
+
migrate: string;
|
|
126
|
+
migrationDetails1: string;
|
|
127
|
+
migrationDetails2: string;
|
|
128
|
+
migrationDetails3: string;
|
|
129
|
+
migrationDetails4: string;
|
|
130
|
+
migrationDetails5: string;
|
|
131
|
+
migrationRestartDescription: string;
|
|
132
|
+
migrationRestartTitle: string;
|
|
133
|
+
no: string;
|
|
134
|
+
support: string;
|
|
135
|
+
thankYou: string;
|
|
136
|
+
yes: string;
|
|
115
137
|
title: {
|
|
116
138
|
accessory: string;
|
|
117
|
-
commands: string;
|
|
118
139
|
commandClose: string;
|
|
119
|
-
commandOn: string;
|
|
120
140
|
commandOff: string;
|
|
141
|
+
commandOn: string;
|
|
121
142
|
commandOpen: string;
|
|
122
143
|
commandLock: string;
|
|
123
|
-
|
|
144
|
+
commands: string;
|
|
124
145
|
commandTemperature: string;
|
|
146
|
+
commandUnlock: string;
|
|
125
147
|
cron: string;
|
|
126
148
|
cronCustom: string;
|
|
127
149
|
defaultBrightness: string;
|
|
@@ -133,19 +155,23 @@ declare const en: {
|
|
|
133
155
|
enableWebook: string;
|
|
134
156
|
groupName: string;
|
|
135
157
|
interval: string;
|
|
158
|
+
limit: string;
|
|
159
|
+
limiter: string;
|
|
136
160
|
name: string;
|
|
161
|
+
period: string;
|
|
137
162
|
preset: string;
|
|
163
|
+
random: string;
|
|
138
164
|
resetOnRestart: string;
|
|
139
|
-
timer: string;
|
|
140
|
-
timerControlled: string;
|
|
141
165
|
schedule: string;
|
|
142
166
|
sensor: string;
|
|
167
|
+
timer: string;
|
|
168
|
+
timerControlled: string;
|
|
143
169
|
type: string;
|
|
144
170
|
units: string;
|
|
145
|
-
random: string;
|
|
146
171
|
};
|
|
147
172
|
};
|
|
148
173
|
sensor: {
|
|
174
|
+
badType: string;
|
|
149
175
|
carbonDioxide: {
|
|
150
176
|
active: string;
|
|
151
177
|
inactive: string;
|
|
@@ -178,9 +204,9 @@ declare const en: {
|
|
|
178
204
|
startup: {
|
|
179
205
|
migrationBridge: string;
|
|
180
206
|
migrationComplete: string;
|
|
181
|
-
migrationNoAccessories: string;
|
|
182
|
-
migrationIgnore: string;
|
|
183
207
|
migrationFailed: string;
|
|
208
|
+
migrationIgnore: string;
|
|
209
|
+
migrationNoAccessories: string;
|
|
184
210
|
migrationRevert: string;
|
|
185
211
|
newAccessory: string;
|
|
186
212
|
removeAccessory: string;
|
|
@@ -190,6 +216,7 @@ declare const en: {
|
|
|
190
216
|
welcome: string[];
|
|
191
217
|
};
|
|
192
218
|
webhook: {
|
|
219
|
+
badUnits: string;
|
|
193
220
|
missing: string;
|
|
194
221
|
received: string;
|
|
195
222
|
register: string;
|
package/dist/i18n/en.js
CHANGED
|
@@ -1,72 +1,78 @@
|
|
|
1
1
|
const en = {
|
|
2
2
|
accessory: {
|
|
3
|
+
badValueType: '%s expected type %s but was %s', // accessory name, variable type, variable type
|
|
3
4
|
invalidCron: '%s has an invalid cron expression %s', // accessory name, cron string
|
|
4
5
|
missingRequired: '%s is missing required field %s', // accessory name, variable name
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
6
|
+
},
|
|
7
|
+
command: {
|
|
8
|
+
error: '%s failed to execute command', // accessory name
|
|
9
|
+
executed: '%s executed command', // accessory name
|
|
10
|
+
},
|
|
11
|
+
lightbulb: {
|
|
12
|
+
brightness: '%s brightness is %d%', // accessory name, number
|
|
13
|
+
stateOn: '%s is on, brightness is %d%', // accessory name, number
|
|
14
|
+
},
|
|
15
|
+
limiter: {
|
|
16
|
+
badPeriod: 'The time limit for %s has invalid period %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
17
|
+
badUnits: 'The time limit for %s has invalid units %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
18
|
+
expired: 'The time limit for %s has expired', // accessory name
|
|
19
|
+
limitExceedsPeriod: 'The time limit for %s exceeds period. Please reduce the limit or increase the period.', // accessory name
|
|
20
|
+
remainingDayPlus: 'The time limit for %s has more than a day remaining', // accessory name
|
|
21
|
+
remainingHours: 'The time limit for %s has %s hours remaining', // accessory name, number
|
|
22
|
+
remainingMinutes: 'The time limit for %s has %s minutes remaining', // accessory name, number
|
|
23
|
+
remainingSeconds: 'The time limit for %s has %s seconds remaining', // accessory name, number
|
|
24
|
+
},
|
|
25
|
+
lock: {
|
|
26
|
+
badDefault: '%s has invalid default lock state %s. Must be one of: %s', // accessory name, input, list of state names
|
|
27
|
+
secured: '%s is locked', // accessory name
|
|
28
|
+
unsecured: '%s is unlocked', // accessory name
|
|
29
|
+
},
|
|
30
|
+
onOff: {
|
|
31
|
+
stateOff: '%s is off', // accessory name
|
|
32
|
+
stateOn: '%s is on', // accessory name
|
|
33
|
+
},
|
|
34
|
+
position: {
|
|
35
|
+
badDefault: '%s has invalid default position %s. Must be one of: %s', // accessory name, input, list of position names
|
|
36
|
+
closed: '%s is closed', // accessory name
|
|
37
|
+
open: '%s is open', // accessory name
|
|
38
|
+
},
|
|
39
|
+
schedule: {
|
|
40
|
+
badType: '%s has invalid schedule type %s. Must be one of: %s', // accessory name, input, list of type names
|
|
41
|
+
badUnits: '%s schedule has invalid time units %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
42
|
+
cron: '%s starting schedule cronjob', // accessory name
|
|
43
|
+
intervalMilliseconds: '%s scheduled for %s milliseconds', // accessory name, number
|
|
44
|
+
intervalSeconds: '%s scheduled for %s seconds', // accessory name, number
|
|
45
|
+
intervalMinutes: '%s scheduled for %s minutes', // accessory name, number
|
|
46
|
+
intervalHours: '% scheduled for %s hours', // accessory name, number
|
|
47
|
+
},
|
|
48
|
+
thermostat: {
|
|
49
|
+
auto: '%s set to Auto', // accessory name
|
|
50
|
+
badDefault: '%s has invalid default state %s. Must be one of: %s', // accessory name, input, list of state names
|
|
51
|
+
badUnits: '%s has invalid temperature units %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
52
|
+
cool: '%s set to Cool', // accessory name
|
|
53
|
+
heat: '%s set to Heat', // accessory name
|
|
54
|
+
off: '%s set to Off', // accessory name
|
|
55
|
+
temperatureC: '%s set to %d°C', // accessory name, number
|
|
56
|
+
temperatureF: '%s set to %d°F', // accessory name, number
|
|
57
|
+
unsupportedFunction: '%s is unsupported for thermostats', // function name
|
|
58
|
+
},
|
|
59
|
+
timer: {
|
|
60
|
+
badUnits: '%s timer has invalid time units %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
61
|
+
cancel: 'Cancelled the timer for %s', // accessory name
|
|
62
|
+
setMilliseconds: '%s is waiting %s milliseconds', // accessory name, number
|
|
63
|
+
setSeconds: '%s is waiting %s seconds', // accessory name, number
|
|
64
|
+
setMinutes: '%s is waiting %s minutes', // accessory name, number
|
|
65
|
+
setHours: '%s is waiting %s hours', // accessory name, number
|
|
49
66
|
},
|
|
50
67
|
config: {
|
|
51
|
-
migrate: 'Are you upgrading from an earlier version?',
|
|
52
|
-
migrationDetails1: 'HomeKit scenes and automations using %s accessories will need to be reconfigured!', // plugin name
|
|
53
|
-
migrationDetails2: 'Please downgrade to v0.9.2 or earlier if you want to keep your current setup.',
|
|
54
|
-
migrationDetails3: '%s can try to recreate your accessories, but you will still need reconfigure HomeKit scenes and automations.', // plugin name
|
|
55
|
-
migrationDetails4: 'Would you like to recreate your accessories now?',
|
|
56
|
-
migrationDetails5: 'For more details, please visit %s', // url
|
|
57
|
-
migrationRestartTitle: 'Restart Homebridge',
|
|
58
|
-
migrationRestartDescription: 'Please restart Homebridge to begin %s migration', // plugin name
|
|
59
|
-
support: 'For documentation and support please visit %s', // url
|
|
60
|
-
thankYou: 'Thank you for installing %s', // plugin name
|
|
61
|
-
yes: 'Yes',
|
|
62
|
-
no: 'No',
|
|
63
68
|
description: {
|
|
64
69
|
commands: 'Execute arbitrary commands (e.g. curl) when the accessory changes state',
|
|
65
70
|
cron: 'Visit crontab.guru for help',
|
|
71
|
+
limiter: 'Restrict the total time this accessory can be set to its non-default value, for each specified period',
|
|
66
72
|
random: 'Time will be randomized with the above value as a maximum',
|
|
67
|
-
timerControlled: 'Instead of mirroring accessory, sensor will be activated when accessory auto-resets',
|
|
68
|
-
timer: 'Return the accessory to its default value after the specified delay',
|
|
69
73
|
schedule: 'Set the accessory to its opposite (non-default) value at specified interval or times',
|
|
74
|
+
timer: 'Return the accessory to its default value after the specified delay',
|
|
75
|
+
timerControlled: 'Instead of mirroring accessory, sensor will be activated when accessory auto-resets',
|
|
70
76
|
},
|
|
71
77
|
enumNames: {
|
|
72
78
|
auto: 'Auto',
|
|
@@ -79,9 +85,11 @@ const en = {
|
|
|
79
85
|
cron: 'Cron',
|
|
80
86
|
custom: 'Custom',
|
|
81
87
|
daily: 'Daily',
|
|
88
|
+
day: 'Day',
|
|
82
89
|
door: 'Door',
|
|
83
90
|
fahrenheit: '°F',
|
|
84
91
|
heat: 'Heat',
|
|
92
|
+
hour: 'Hour',
|
|
85
93
|
hourly: 'Hourly',
|
|
86
94
|
hours: 'Hours',
|
|
87
95
|
interval: 'Interval',
|
|
@@ -89,9 +97,10 @@ const en = {
|
|
|
89
97
|
lightbulb: 'Lightbulb',
|
|
90
98
|
lockMechanism: 'Lock',
|
|
91
99
|
minutely: 'Every Minute',
|
|
100
|
+
month: 'Month',
|
|
92
101
|
monthly: 'Monthly',
|
|
93
|
-
off: 'Off',
|
|
94
102
|
occupancySensor: 'Occupancy',
|
|
103
|
+
off: 'Off',
|
|
95
104
|
on: 'On',
|
|
96
105
|
open: 'Open',
|
|
97
106
|
outlet: 'Outlet',
|
|
@@ -105,6 +114,7 @@ const en = {
|
|
|
105
114
|
switch: 'Switch',
|
|
106
115
|
thermostat: 'Thermostat',
|
|
107
116
|
unsecured: 'Unlocked',
|
|
117
|
+
week: 'Week',
|
|
108
118
|
weekdays: 'Weekdays',
|
|
109
119
|
weekends: 'Weekends',
|
|
110
120
|
weekly: 'Weekly',
|
|
@@ -112,16 +122,28 @@ const en = {
|
|
|
112
122
|
windowCovering: 'Window Convering (Blinds)',
|
|
113
123
|
yearly: 'Annually',
|
|
114
124
|
},
|
|
125
|
+
migrate: 'Are you upgrading from an earlier version?',
|
|
126
|
+
migrationDetails1: 'HomeKit scenes and automations using %s accessories will need to be reconfigured!', // plugin name
|
|
127
|
+
migrationDetails2: 'Please downgrade to v0.9.2 or earlier if you want to keep your current setup.',
|
|
128
|
+
migrationDetails3: '%s can try to recreate your accessories, but you will still need reconfigure HomeKit scenes and automations.', // plugin name
|
|
129
|
+
migrationDetails4: 'Would you like to recreate your accessories now?',
|
|
130
|
+
migrationDetails5: 'For more details, please visit %s', // url
|
|
131
|
+
migrationRestartDescription: 'Please restart Homebridge to begin %s migration', // plugin name
|
|
132
|
+
migrationRestartTitle: 'Restart Homebridge',
|
|
133
|
+
no: 'No',
|
|
134
|
+
support: 'For documentation and support please visit %s', // url
|
|
135
|
+
thankYou: 'Thank you for installing %s', // plugin name
|
|
136
|
+
yes: 'Yes',
|
|
115
137
|
title: {
|
|
116
138
|
accessory: 'Accessory',
|
|
117
|
-
commands: 'Commands',
|
|
118
139
|
commandClose: 'Close Command',
|
|
119
|
-
commandOn: 'On Command',
|
|
120
140
|
commandOff: 'Off Command',
|
|
141
|
+
commandOn: 'On Command',
|
|
121
142
|
commandOpen: 'Open Command',
|
|
122
143
|
commandLock: 'Lock Command',
|
|
123
|
-
|
|
144
|
+
commands: 'Commands',
|
|
124
145
|
commandTemperature: 'Temperature Changed Command',
|
|
146
|
+
commandUnlock: 'Unlock Command',
|
|
125
147
|
cron: 'Cron',
|
|
126
148
|
cronCustom: 'Custom Cron',
|
|
127
149
|
defaultBrightness: 'Default Brightness',
|
|
@@ -133,19 +155,23 @@ const en = {
|
|
|
133
155
|
enableWebook: 'Enable Webhook',
|
|
134
156
|
groupName: 'Group Name',
|
|
135
157
|
interval: 'Interval',
|
|
158
|
+
limit: 'Limit',
|
|
159
|
+
limiter: 'Time Limit',
|
|
136
160
|
name: 'Name',
|
|
161
|
+
period: 'Per',
|
|
137
162
|
preset: 'Preset',
|
|
163
|
+
random: 'Randomize',
|
|
138
164
|
resetOnRestart: 'Reset on Restart',
|
|
139
|
-
timer: 'Auto-Reset Timer',
|
|
140
|
-
timerControlled: 'Activate Sensor on Auto-Reset',
|
|
141
165
|
schedule: 'Schedule',
|
|
142
166
|
sensor: 'Attach Sensor',
|
|
167
|
+
timer: 'Auto-Reset Timer',
|
|
168
|
+
timerControlled: 'Activate Sensor on Auto-Reset',
|
|
143
169
|
type: 'Type',
|
|
144
170
|
units: 'Units',
|
|
145
|
-
random: 'Randomize',
|
|
146
171
|
},
|
|
147
172
|
},
|
|
148
173
|
sensor: {
|
|
174
|
+
badType: '%s has invalid sensor type %s. Must be one of: %s', // accessory name, input, list of type names
|
|
149
175
|
carbonDioxide: {
|
|
150
176
|
active: '%s detected carbon dioxide', // accessory name
|
|
151
177
|
inactive: '%s stopped detecting carbon dioxide', // accessory name
|
|
@@ -178,9 +204,9 @@ const en = {
|
|
|
178
204
|
startup: {
|
|
179
205
|
migrationBridge: '‼️ Please restart Homebridge one more time for migration to take full effect ‼️',
|
|
180
206
|
migrationComplete: 'Successfully migrated %s accessories!', // number
|
|
181
|
-
migrationNoAccessories: 'Unable to find any accessories to migrate',
|
|
182
|
-
migrationIgnore: 'You may safely ignore \'No plugin was found…\' errors — they should go away the next time you restart Homebridge',
|
|
183
207
|
migrationFailed: 'Sorry, something went wrong with the accessory migration',
|
|
208
|
+
migrationIgnore: 'You may safely ignore \'No plugin was found…\' errors — they should go away the next time you restart Homebridge',
|
|
209
|
+
migrationNoAccessories: 'Unable to find any accessories to migrate',
|
|
184
210
|
migrationRevert: 'If you encounter problems, you can find a backup config.json.bak in your Homebridge directory',
|
|
185
211
|
newAccessory: 'Adding new accessory:',
|
|
186
212
|
removeAccessory: 'Removing accessory:',
|
|
@@ -195,6 +221,7 @@ const en = {
|
|
|
195
221
|
],
|
|
196
222
|
},
|
|
197
223
|
webhook: {
|
|
224
|
+
badUnits: 'The %s webhook command has invalid temperature units %s. Must be one of:', // accessory name, input, list of unit names
|
|
198
225
|
missing: 'Request is missing the following fields:',
|
|
199
226
|
received: 'Webhook command received',
|
|
200
227
|
register: 'Registering accessory with id %s for webhook command %s', // id, command
|
package/dist/i18n/en.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,GAAG;IAET,SAAS,EAAE;
|
|
1
|
+
{"version":3,"file":"en.js","sourceRoot":"","sources":["../../src/i18n/en.ts"],"names":[],"mappings":"AAAA,MAAM,EAAE,GAAG;IAET,SAAS,EAAE;QACT,YAAY,EAAE,gCAAgC,EAAE,+CAA+C;QAC/F,WAAW,EAAE,sCAAsC,EAAE,8BAA8B;QACnF,eAAe,EAAE,iCAAiC,EAAE,gCAAgC;KACrF;IAED,OAAO,EAAE;QACP,KAAK,EAAE,8BAA8B,EAAE,iBAAiB;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