homebridge-dummy 1.3.2 → 1.4.0-alpha.0
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 +12 -3
- package/README.md +74 -24
- package/config.schema.json +258 -44
- package/dist/accessory/base.d.ts +28 -8
- package/dist/accessory/base.js +53 -37
- package/dist/accessory/base.js.map +1 -1
- package/dist/accessory/group.d.ts +9 -1
- package/dist/accessory/group.js +14 -9
- package/dist/accessory/group.js.map +1 -1
- package/dist/accessory/helpers.d.ts +3 -5
- package/dist/accessory/helpers.js +12 -12
- package/dist/accessory/helpers.js.map +1 -1
- package/dist/accessory/lock.d.ts +6 -6
- package/dist/accessory/lock.js +14 -8
- package/dist/accessory/lock.js.map +1 -1
- package/dist/accessory/onoff/lightbulb.d.ts +9 -4
- package/dist/accessory/onoff/lightbulb.js +31 -4
- package/dist/accessory/onoff/lightbulb.js.map +1 -1
- package/dist/accessory/onoff/onoff.d.ts +8 -8
- package/dist/accessory/onoff/onoff.js +25 -13
- package/dist/accessory/onoff/onoff.js.map +1 -1
- package/dist/accessory/position/garage.d.ts +3 -4
- package/dist/accessory/position/garage.js +3 -3
- package/dist/accessory/position/garage.js.map +1 -1
- package/dist/accessory/position/position.d.ts +6 -6
- package/dist/accessory/position/position.js +14 -8
- package/dist/accessory/position/position.js.map +1 -1
- package/dist/accessory/sensor.d.ts +4 -5
- package/dist/accessory/sensor.js +14 -15
- package/dist/accessory/sensor.js.map +1 -1
- package/dist/accessory/thermostat.d.ts +5 -6
- package/dist/accessory/thermostat.js +25 -19
- package/dist/accessory/thermostat.js.map +1 -1
- package/dist/homebridge/platform.d.ts +3 -2
- package/dist/homebridge/platform.js +31 -12
- 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/de.d.ts +35 -0
- package/dist/i18n/en.d.ts +35 -0
- package/dist/i18n/en.js +43 -8
- package/dist/i18n/en.js.map +1 -1
- package/dist/i18n/es.d.ts +35 -0
- package/dist/i18n/i18n.d.ts +35 -0
- package/dist/i18n/ru.d.ts +35 -0
- package/dist/i18n/template.d.ts +35 -0
- package/dist/model/conditions.d.ts +17 -0
- package/dist/model/conditions.js +150 -0
- package/dist/model/conditions.js.map +1 -0
- package/dist/model/enums.d.ts +19 -4
- package/dist/model/enums.js +41 -12
- package/dist/model/enums.js.map +1 -1
- package/dist/model/types.d.ts +18 -3
- package/dist/model/webhook.js +23 -19
- package/dist/model/webhook.js.map +1 -1
- package/dist/timeout/fader.d.ts +9 -0
- package/dist/timeout/fader.js +33 -0
- package/dist/timeout/fader.js.map +1 -0
- package/dist/timeout/limiter.d.ts +2 -2
- package/dist/timeout/limiter.js +8 -8
- package/dist/timeout/limiter.js.map +1 -1
- package/dist/timeout/schedule.d.ts +3 -3
- package/dist/timeout/schedule.js +18 -18
- package/dist/timeout/schedule.js.map +1 -1
- package/dist/timeout/timeout.d.ts +6 -4
- package/dist/timeout/timeout.js +12 -7
- package/dist/timeout/timeout.js.map +1 -1
- package/dist/timeout/timer.d.ts +3 -4
- package/dist/timeout/timer.js +8 -9
- package/dist/timeout/timer.js.map +1 -1
- package/dist/tools/configMigration.js +2 -2
- package/dist/tools/configMigration.js.map +1 -1
- package/dist/tools/logWatcher.d.ts +13 -0
- package/dist/tools/logWatcher.js +52 -0
- package/dist/tools/logWatcher.js.map +1 -0
- package/dist/tools/primitive.d.ts +3 -0
- package/dist/tools/primitive.js +24 -0
- package/dist/tools/primitive.js.map +1 -0
- package/package.json +13 -3
|
@@ -8,6 +8,7 @@ import { Log } from '../tools/log.js';
|
|
|
8
8
|
import getVersion from '../tools/version.js';
|
|
9
9
|
import { WebhookManager } from '../model/webhook.js';
|
|
10
10
|
import { Storage } from '../tools/storage.js';
|
|
11
|
+
import { ConditionManager } from '../model/conditions.js';
|
|
11
12
|
export class HomebridgeDummyPlatform {
|
|
12
13
|
config;
|
|
13
14
|
api;
|
|
@@ -17,6 +18,7 @@ export class HomebridgeDummyPlatform {
|
|
|
17
18
|
platformAccessories = new Map();
|
|
18
19
|
dummyAccessories = [];
|
|
19
20
|
webhookManager;
|
|
21
|
+
conditionManager;
|
|
20
22
|
constructor(logger, config, api) {
|
|
21
23
|
this.config = config;
|
|
22
24
|
this.api = api;
|
|
@@ -26,6 +28,7 @@ export class HomebridgeDummyPlatform {
|
|
|
26
28
|
this.Characteristic = api.hap.Characteristic;
|
|
27
29
|
this.log = new Log(logger, config.verbose === true);
|
|
28
30
|
this.webhookManager = new WebhookManager(this.Characteristic, this.log, config.webhookPort);
|
|
31
|
+
this.conditionManager = new ConditionManager(this.log, api.user.storagePath());
|
|
29
32
|
this.log.always('v%s | System %s | Node %s | HB v%s | HAPNodeJS v%s', getVersion(), process.platform, process.version, api.serverVersion, api.hap.HAPLibraryVersion());
|
|
30
33
|
api.on('didFinishLaunching', () => {
|
|
31
34
|
this.setup();
|
|
@@ -34,14 +37,15 @@ export class HomebridgeDummyPlatform {
|
|
|
34
37
|
this.teardown();
|
|
35
38
|
});
|
|
36
39
|
}
|
|
37
|
-
configureAccessory(
|
|
38
|
-
this.log.always(strings.startup.restoringAccessory,
|
|
39
|
-
this.platformAccessories.set(
|
|
40
|
+
configureAccessory(platformAccessory) {
|
|
41
|
+
this.log.always(strings.startup.restoringAccessory, platformAccessory.displayName);
|
|
42
|
+
this.platformAccessories.set(platformAccessory.context.identifier, platformAccessory);
|
|
40
43
|
}
|
|
41
44
|
teardown() {
|
|
42
45
|
this.dummyAccessories.forEach(accessory => {
|
|
43
46
|
accessory.teardown();
|
|
44
47
|
});
|
|
48
|
+
this.conditionManager.teardown();
|
|
45
49
|
}
|
|
46
50
|
async setup() {
|
|
47
51
|
await Storage.init(this.api.user.persistPath());
|
|
@@ -61,8 +65,17 @@ export class HomebridgeDummyPlatform {
|
|
|
61
65
|
}
|
|
62
66
|
const id = DummyAccessory.identifier(accessoryConfig);
|
|
63
67
|
keepIdentifiers.add(id);
|
|
64
|
-
const
|
|
65
|
-
const
|
|
68
|
+
const platformAccessory = this.platformAccessories.get(id) ?? this.createPlatformAccessory(id, accessoryConfig.name);
|
|
69
|
+
const dependency = {
|
|
70
|
+
Service: this.Service,
|
|
71
|
+
Characteristic: this.Characteristic,
|
|
72
|
+
platformAccessory: platformAccessory,
|
|
73
|
+
config: accessoryConfig,
|
|
74
|
+
conditionManager: this.conditionManager,
|
|
75
|
+
log: this.log,
|
|
76
|
+
isGrouped: false,
|
|
77
|
+
};
|
|
78
|
+
const dummyAccessory = createDummyAccessory(dependency);
|
|
66
79
|
if (!dummyAccessory) {
|
|
67
80
|
continue;
|
|
68
81
|
}
|
|
@@ -71,13 +84,19 @@ export class HomebridgeDummyPlatform {
|
|
|
71
84
|
}
|
|
72
85
|
this.dummyAccessories.push(dummyAccessory);
|
|
73
86
|
}
|
|
74
|
-
;
|
|
75
87
|
for (const groupName of groupAccessories.keys()) {
|
|
76
88
|
const groupConfig = groupAccessories.get(groupName);
|
|
77
89
|
const id = GroupAccessory.identifier(groupName);
|
|
78
90
|
keepIdentifiers.add(id);
|
|
79
|
-
const
|
|
80
|
-
const
|
|
91
|
+
const platformAccessory = this.platformAccessories.get(id) ?? this.createPlatformAccessory(id, groupName);
|
|
92
|
+
const dependency = {
|
|
93
|
+
Service: this.Service,
|
|
94
|
+
Characteristic: this.Characteristic,
|
|
95
|
+
platformAccessory: platformAccessory,
|
|
96
|
+
conditionManager: this.conditionManager,
|
|
97
|
+
log: this.log,
|
|
98
|
+
};
|
|
99
|
+
const groupAccessory = new GroupAccessory(dependency, groupConfig, this.webhookManager);
|
|
81
100
|
this.dummyAccessories.push(groupAccessory);
|
|
82
101
|
}
|
|
83
102
|
this.platformAccessories.forEach(accessory => {
|
|
@@ -98,10 +117,10 @@ export class HomebridgeDummyPlatform {
|
|
|
98
117
|
this.api.registerPlatformAccessories(PLUGIN_NAME, PLATFORM_NAME, [accessory]);
|
|
99
118
|
return accessory;
|
|
100
119
|
}
|
|
101
|
-
removeCachedAccessory(
|
|
102
|
-
this.log.always(strings.startup.removeAccessory,
|
|
103
|
-
this.api.unregisterPlatformAccessories(PLUGIN_NAME, PLATFORM_NAME, [
|
|
104
|
-
this.platformAccessories.delete(
|
|
120
|
+
removeCachedAccessory(platformAccessory) {
|
|
121
|
+
this.log.always(strings.startup.removeAccessory, platformAccessory.displayName);
|
|
122
|
+
this.api.unregisterPlatformAccessories(PLUGIN_NAME, PLATFORM_NAME, [platformAccessory]);
|
|
123
|
+
this.platformAccessories.delete(platformAccessory.context.identifier);
|
|
105
124
|
}
|
|
106
125
|
}
|
|
107
126
|
//# sourceMappingURL=platform.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../src/homebridge/platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAE,cAAc,
|
|
1
|
+
{"version":3,"file":"platform.js","sourceRoot":"","sources":["../../src/homebridge/platform.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAE3D,OAAO,EAAE,cAAc,EAA4B,MAAM,sBAAsB,CAAC;AAChF,OAAO,EAAE,cAAc,EAA4B,MAAM,uBAAuB,CAAC;AACjF,OAAO,EAAE,oBAAoB,EAAE,MAAM,yBAAyB,CAAC;AAE/D,OAAO,EAAE,WAAW,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAIvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AACjE,OAAO,EAAE,GAAG,EAAE,MAAM,iBAAiB,CAAC;AACtC,OAAO,UAAU,MAAM,qBAAqB,CAAC;AAC7C,OAAO,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACrD,OAAO,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAC;AAC9C,OAAO,EAAE,gBAAg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GitHub</a>',migration:'<a target="_blank" href="https://github.com/mpatfield/homebridge-dummy?tab=readme-ov-file#v10-migration">GitHub</a>',dummy:u};function I(e){document.querySelectorAll("[i18n]").forEach(t=>{let i=t.getAttribute("i18n"),n=e.config[i],o=t.getAttribute("i18n_replace");o&&(n=n.replace("%s",w[o])),t.innerHTML=n})}function D(e){let t=["span","label","legend","option","p"];Array.from(window.parent.document.querySelectorAll(t.join(","))).sort((n,o)=>t.indexOf(n.tagName.toLowerCase())-t.indexOf(o.tagName.toLowerCase())).forEach(n=>{let o=n.innerHTML;o=o.replaceAll(/\$\{config\.(title|description|enumNames)\.([^}]+)\}/g,(d,s,r)=>e.config[s]&&typeof e.config[s]=="object"&&r in e.config[s]?e.config[s][r]:d),n.innerHTML!==o&&(n.innerHTML=o)})}function O(e){let t=Array.from(window.parent.document.querySelectorAll("fieldset legend"));for(let i of t){let o=i.closest("fieldset")?.querySelector('input[type="text"][name="name"]');o&&i.textContent!==(o.value||e.config.title.accessory)&&(i.textContent=o.value!==""?o.value:e.config.title.accessory),o&&!o.dataset.accessoryNameListener&&(o.addEventListener("input",()=>O(e)),o.dataset.accessoryNameListener="true")}}function y(){if(typeof crypto<"u"){if(crypto.randomUUID)return crypto.randomUUID();if(crypto.getRandomValues)return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=crypto.getRandomValues(new Uint8Array(1))[0]&15;return(e==="x"?t:t&3|8).toString(16)})}return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,e=>{let t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}async function v(e){let t=!1;e.forEach(i=>{i.accessories?.forEach(n=>{n.id===void 0&&(n.id=y(),t=!0),n.limiter!==void 0&&n.limiter.id===void 0&&(n.limiter.id=y(),t=!0)})}),t&&await homebridge.updatePluginConfig(e)}function C(e,t){let i=window.parent.document.createTreeWalker(window.parent.document.body,NodeFilter.SHOW_ELEMENT),n=!1;for(;i.nextNode();)if(i.currentNode===e){n=!0;break}for(;n&&i.nextNode();){let o=i.currentNode;if(o.getAttribute("name")===t)return o}return null}var c=[];async function S(e,t){let i=window.parent.document.querySelectorAll('[name="accessoryId"]');if(i.length===0)return;t===void 0&&(t=await homebridge.getPluginConfig());let n=[];for(let d of t){let s=(d.accessories??[]).filter(r=>r.id&&r.name&&r.type!=="Thermostat");n.push(...s)}let o=!1;c.length!==n.length?(c=n,o=!0):c.forEach((d,s)=>{let r=n[s];(d.name!==r.name||d.type!==r.type||d.id!==r.id)&&(c=n,o=!0)}),i.forEach(d=>{let s=d,r=s.parentElement?.querySelector('select.form-select[data-accessory-name-select="true"]');if(r&&r.dataset.accessoryNameSelect!=="true"){console.error("Unable to retrieve accessory name selector");return}r||(r=document.createElement("select"),r.className="form-select",r.dataset.accessoryNameSelect="true",s.hidden=!0,r.addEventListener("change",()=>{if(r.selectedIndex===-1)s.value="";else{let l=c[r.selectedIndex].id;s.value=l}s.dispatchEvent(new Event("input",{bubbles:!0}))}),s.parentElement?.appendChild(r)),(o||r.length===0)&&(r.length=0,c.forEach(l=>{let a=document.createElement("option");a.text=l.name,r.add(a)}));let m=s.value.length?c.findIndex(l=>l.id===s.value):-1;if(m===-1)r.selectedIndex=-1;else{r.selectedIndex=m;let l=c[m],a=C(r,"accessoryState");if(!a){console.error("Unable to find accessory state selector");return}if(a.length!==7){console.error("Accessory state selector has an unexpected number of options");return}let L=a.options[0],g=a.options[1],x=a.options[2],p=a.options[3],h=a.options[4],b=a.options[5],E=a.options[6];switch(L.hidden=!0,g.hidden=!0,x.hidden=!0,p.hidden=!0,h.hidden=!0,b.hidden=!0,E.hidden=!0,l.type){case"Lightbulb":case"Outlet":case"Switch":g.hidden=!1,x.hidden=!1,a.selectedIndex!==1&&a.selectedIndex!==2&&(a.selectedIndex=-1,a.dispatchEvent(new Event("change",{bubbles:!0})));break;case"Door":case"GarageDoorOpener":case"Window":case"WindowCovering":p.hidden=!1,h.hidden=!1,a.selectedIndex!==3&&a.selectedIndex!==4&&(a.selectedIndex=-1,a.dispatchEvent(new Event("change",{bubbles:!0})));break;case"LockMechanism":a.selectedIndex!==5&&a.selectedIndex!==6&&(a.selectedIndex=-1,a.dispatchEvent(new Event("change",{bubbles:!0}))),b.hidden=!1,E.hidden=!1;break;case"Thermostat":default:return}}})}async function N(e){let t=!1;e.forEach(i=>{i.accessories?.forEach(n=>{"defaultOn"in n&&(n.defaultState=n.defaultOn?"on":"off",n.defaultOn=void 0,t=!0);let o=n.sensor;typeof o=="string"&&(n.sensor={type:o},t=!0);let d=n.schedule;d?.type==="CRON"&&d.cron!=="CRON_CUSTOM"&&!d.cron?.startsWith("@")&&(n.schedule={...d,cron:"CRON_CUSTOM",cronCustom:d.cron},t=!0)})}),t&&await homebridge.updatePluginConfig(e)}function f(e){document.getElementById("intro").style.display="none",document.getElementById("migration").style.display="none",document.getElementById("support").style.display="block",new MutationObserver(()=>{D(e),O(e),S(e)}).observe(window.parent.document.body,{childList:!0,subtree:!0}),homebridge.addEventListener("configChanged",async i=>{let n=i.data;await v(n),await S(e,n)}),homebridge.showSchemaForm(),homebridge.hideSpinner(),homebridge.enableSaveButton()}function M(e){document.getElementById("header").style.display="none",document.getElementById("intro").style.display="none",document.getElementById("migration").style.display="block",document.getElementById("skipMigration").addEventListener("click",async()=>{await homebridge.updatePluginConfig([{name:u}]),await homebridge.savePluginConfig(),f(e)}),document.getElementById("doMigration").addEventListener("click",async()=>{await homebridge.updatePluginConfig([{name:u,migrationNeeded:!0}]),await homebridge.savePluginConfig(),homebridge.closeSettings(),homebridge.toast.info(e.config.migrationRestartDescription.replace("%s",u),e.config.migrationRestartTitle)})}function k(e){document.getElementById("showSettings").addEventListener("click",async()=>{await homebridge.updatePluginConfig([{name:u}]),f(e)}),document.getElementById("showMigration").addEventListener("click",()=>{M(e)}),document.getElementById("intro").style.display="block",homebridge.hideSpinner()}homebridge.disableSaveButton(),homebridge.showSpinner();(async()=>{let e=await homebridge.i18nCurrentLang(),t=await homebridge.request("i18n",e);I(t);let i=await homebridge.getPluginConfig();i.length?(await N(i),f(t)):k(t)})();})();
|
package/dist/i18n/de.d.ts
CHANGED
|
@@ -8,6 +8,20 @@ declare const de: {
|
|
|
8
8
|
error: string;
|
|
9
9
|
executed: string;
|
|
10
10
|
};
|
|
11
|
+
conditions: {
|
|
12
|
+
andMultipleLogs: string;
|
|
13
|
+
currentResult: string;
|
|
14
|
+
evaluatingConditions: string;
|
|
15
|
+
satisfied: string;
|
|
16
|
+
notSatisfied: string;
|
|
17
|
+
patternAndConditions: string;
|
|
18
|
+
patternMatch: string;
|
|
19
|
+
selfReference: string;
|
|
20
|
+
statesEqual: string;
|
|
21
|
+
statesNotEqual: string;
|
|
22
|
+
stateUnknown: string;
|
|
23
|
+
statesUnrelated: string;
|
|
24
|
+
};
|
|
11
25
|
lightbulb: {
|
|
12
26
|
brightness: string;
|
|
13
27
|
stateOn: string;
|
|
@@ -27,7 +41,12 @@ declare const de: {
|
|
|
27
41
|
secured: string;
|
|
28
42
|
unsecured: string;
|
|
29
43
|
};
|
|
44
|
+
logWatcher: {
|
|
45
|
+
error: string;
|
|
46
|
+
missingFile: string;
|
|
47
|
+
};
|
|
30
48
|
onOff: {
|
|
49
|
+
badDefault: string;
|
|
31
50
|
stateOff: string;
|
|
32
51
|
stateOn: string;
|
|
33
52
|
};
|
|
@@ -70,6 +89,8 @@ declare const de: {
|
|
|
70
89
|
description: {
|
|
71
90
|
commands: string;
|
|
72
91
|
cron: string;
|
|
92
|
+
conditions: string;
|
|
93
|
+
fadeOut: string;
|
|
73
94
|
limiter: string;
|
|
74
95
|
random: string;
|
|
75
96
|
schedule: string;
|
|
@@ -77,6 +98,7 @@ declare const de: {
|
|
|
77
98
|
timerControlled: string;
|
|
78
99
|
};
|
|
79
100
|
enumNames: {
|
|
101
|
+
accessory: string;
|
|
80
102
|
auto: string;
|
|
81
103
|
carbonDioxideSensor: string;
|
|
82
104
|
carbonMonoxideSensor: string;
|
|
@@ -99,13 +121,17 @@ declare const de: {
|
|
|
99
121
|
leakSensor: string;
|
|
100
122
|
lightbulb: string;
|
|
101
123
|
lockMechanism: string;
|
|
124
|
+
log: string;
|
|
102
125
|
minutely: string;
|
|
103
126
|
month: string;
|
|
104
127
|
monthly: string;
|
|
128
|
+
none: string;
|
|
105
129
|
occupancySensor: string;
|
|
106
130
|
off: string;
|
|
107
131
|
on: string;
|
|
108
132
|
open: string;
|
|
133
|
+
operatorAnd: string;
|
|
134
|
+
operatorOr: string;
|
|
109
135
|
outlet: string;
|
|
110
136
|
milliseconds: string;
|
|
111
137
|
minutes: string;
|
|
@@ -139,6 +165,7 @@ declare const de: {
|
|
|
139
165
|
yes: string;
|
|
140
166
|
title: {
|
|
141
167
|
accessory: string;
|
|
168
|
+
accessoryState: string;
|
|
142
169
|
commandClose: string;
|
|
143
170
|
commandOff: string;
|
|
144
171
|
commandOn: string;
|
|
@@ -147,6 +174,8 @@ declare const de: {
|
|
|
147
174
|
commands: string;
|
|
148
175
|
commandTemperature: string;
|
|
149
176
|
commandUnlock: string;
|
|
177
|
+
condition: string;
|
|
178
|
+
conditions: string;
|
|
150
179
|
cron: string;
|
|
151
180
|
cronCustom: string;
|
|
152
181
|
defaultBrightness: string;
|
|
@@ -156,17 +185,23 @@ declare const de: {
|
|
|
156
185
|
delay: string;
|
|
157
186
|
disableLogging: string;
|
|
158
187
|
enableWebook: string;
|
|
188
|
+
fadeOut: string;
|
|
159
189
|
groupName: string;
|
|
160
190
|
interval: string;
|
|
161
191
|
limit: string;
|
|
162
192
|
limiter: string;
|
|
193
|
+
minimumTemperature: string;
|
|
194
|
+
maximumTemperature: string;
|
|
163
195
|
name: string;
|
|
196
|
+
operator: string;
|
|
197
|
+
pattern: string;
|
|
164
198
|
period: string;
|
|
165
199
|
preset: string;
|
|
166
200
|
random: string;
|
|
167
201
|
resetOnRestart: string;
|
|
168
202
|
schedule: string;
|
|
169
203
|
sensor: string;
|
|
204
|
+
temperatureUnits: string;
|
|
170
205
|
timer: string;
|
|
171
206
|
timerControlled: string;
|
|
172
207
|
type: string;
|
package/dist/i18n/en.d.ts
CHANGED
|
@@ -8,6 +8,20 @@ declare const en: {
|
|
|
8
8
|
error: string;
|
|
9
9
|
executed: string;
|
|
10
10
|
};
|
|
11
|
+
conditions: {
|
|
12
|
+
andMultipleLogs: string;
|
|
13
|
+
currentResult: string;
|
|
14
|
+
evaluatingConditions: string;
|
|
15
|
+
satisfied: string;
|
|
16
|
+
notSatisfied: string;
|
|
17
|
+
patternAndConditions: string;
|
|
18
|
+
patternMatch: string;
|
|
19
|
+
selfReference: string;
|
|
20
|
+
statesEqual: string;
|
|
21
|
+
statesNotEqual: string;
|
|
22
|
+
stateUnknown: string;
|
|
23
|
+
statesUnrelated: string;
|
|
24
|
+
};
|
|
11
25
|
lightbulb: {
|
|
12
26
|
brightness: string;
|
|
13
27
|
stateOn: string;
|
|
@@ -27,7 +41,12 @@ declare const en: {
|
|
|
27
41
|
secured: string;
|
|
28
42
|
unsecured: string;
|
|
29
43
|
};
|
|
44
|
+
logWatcher: {
|
|
45
|
+
error: string;
|
|
46
|
+
missingFile: string;
|
|
47
|
+
};
|
|
30
48
|
onOff: {
|
|
49
|
+
badDefault: string;
|
|
31
50
|
stateOff: string;
|
|
32
51
|
stateOn: string;
|
|
33
52
|
};
|
|
@@ -70,6 +89,8 @@ declare const en: {
|
|
|
70
89
|
description: {
|
|
71
90
|
commands: string;
|
|
72
91
|
cron: string;
|
|
92
|
+
conditions: string;
|
|
93
|
+
fadeOut: string;
|
|
73
94
|
limiter: string;
|
|
74
95
|
random: string;
|
|
75
96
|
schedule: string;
|
|
@@ -77,6 +98,7 @@ declare const en: {
|
|
|
77
98
|
timerControlled: string;
|
|
78
99
|
};
|
|
79
100
|
enumNames: {
|
|
101
|
+
accessory: string;
|
|
80
102
|
auto: string;
|
|
81
103
|
carbonDioxideSensor: string;
|
|
82
104
|
carbonMonoxideSensor: string;
|
|
@@ -99,13 +121,17 @@ declare const en: {
|
|
|
99
121
|
leakSensor: string;
|
|
100
122
|
lightbulb: string;
|
|
101
123
|
lockMechanism: string;
|
|
124
|
+
log: string;
|
|
102
125
|
minutely: string;
|
|
103
126
|
month: string;
|
|
104
127
|
monthly: string;
|
|
128
|
+
none: string;
|
|
105
129
|
occupancySensor: string;
|
|
106
130
|
off: string;
|
|
107
131
|
on: string;
|
|
108
132
|
open: string;
|
|
133
|
+
operatorAnd: string;
|
|
134
|
+
operatorOr: string;
|
|
109
135
|
outlet: string;
|
|
110
136
|
milliseconds: string;
|
|
111
137
|
minutes: string;
|
|
@@ -139,6 +165,7 @@ declare const en: {
|
|
|
139
165
|
yes: string;
|
|
140
166
|
title: {
|
|
141
167
|
accessory: string;
|
|
168
|
+
accessoryState: string;
|
|
142
169
|
commandClose: string;
|
|
143
170
|
commandOff: string;
|
|
144
171
|
commandOn: string;
|
|
@@ -147,6 +174,8 @@ declare const en: {
|
|
|
147
174
|
commands: string;
|
|
148
175
|
commandTemperature: string;
|
|
149
176
|
commandUnlock: string;
|
|
177
|
+
condition: string;
|
|
178
|
+
conditions: string;
|
|
150
179
|
cron: string;
|
|
151
180
|
cronCustom: string;
|
|
152
181
|
defaultBrightness: string;
|
|
@@ -156,17 +185,23 @@ declare const en: {
|
|
|
156
185
|
delay: string;
|
|
157
186
|
disableLogging: string;
|
|
158
187
|
enableWebook: string;
|
|
188
|
+
fadeOut: string;
|
|
159
189
|
groupName: string;
|
|
160
190
|
interval: string;
|
|
161
191
|
limit: string;
|
|
162
192
|
limiter: string;
|
|
193
|
+
minimumTemperature: string;
|
|
194
|
+
maximumTemperature: string;
|
|
163
195
|
name: string;
|
|
196
|
+
operator: string;
|
|
197
|
+
pattern: string;
|
|
164
198
|
period: string;
|
|
165
199
|
preset: string;
|
|
166
200
|
random: string;
|
|
167
201
|
resetOnRestart: string;
|
|
168
202
|
schedule: string;
|
|
169
203
|
sensor: string;
|
|
204
|
+
temperatureUnits: string;
|
|
170
205
|
timer: string;
|
|
171
206
|
timerControlled: string;
|
|
172
207
|
type: string;
|
package/dist/i18n/en.js
CHANGED
|
@@ -8,6 +8,20 @@ const en = {
|
|
|
8
8
|
error: '%s failed to execute command', // accessory name
|
|
9
9
|
executed: '%s executed command', // accessory name
|
|
10
10
|
},
|
|
11
|
+
conditions: {
|
|
12
|
+
andMultipleLogs: '%s cannot have mutiple log triggers using the "ALL" operator', // accessory name
|
|
13
|
+
currentResult: 'Current result is %s', // boolean
|
|
14
|
+
evaluatingConditions: 'Evaluating conditions for %s', // accessory name
|
|
15
|
+
satisfied: '%s conditions have been satisfied. Triggering…', // accessory name
|
|
16
|
+
notSatisfied: '%s conditions not satisfied', // accessory name
|
|
17
|
+
patternAndConditions: '%s log condition found a pattern match. Checking other conditions…', // accessory name
|
|
18
|
+
patternMatch: '%s log condition found a pattern match. Triggering…', // accessory name
|
|
19
|
+
selfReference: '%s is not allowed to reference itself as a triggering condition', // accessory name
|
|
20
|
+
statesEqual: 'Current and desired states are both %s', // state name
|
|
21
|
+
statesNotEqual: 'Current state %s is not equivalent to desired state %s', // state name, state name
|
|
22
|
+
stateUnknown: 'Cannot yet evalutate conditions because state for %s is unknown', // accessory id
|
|
23
|
+
statesUnrelated: 'Desired condition state %s is being compared to current state %s. Was this a typo?', // state name, state name
|
|
24
|
+
},
|
|
11
25
|
lightbulb: {
|
|
12
26
|
brightness: '%s brightness is %d%', // accessory name, number
|
|
13
27
|
stateOn: '%s is on, brightness is %d%', // accessory name, number
|
|
@@ -27,7 +41,12 @@ const en = {
|
|
|
27
41
|
secured: '%s is locked', // accessory name
|
|
28
42
|
unsecured: '%s is unlocked', // accessory name
|
|
29
43
|
},
|
|
44
|
+
logWatcher: {
|
|
45
|
+
error: 'Log watcher encountered an error: %s', // error
|
|
46
|
+
missingFile: 'Unable to find log file at path %s', // file path
|
|
47
|
+
},
|
|
30
48
|
onOff: {
|
|
49
|
+
badDefault: '%s has invalid default on state %s. Must be one of: %s', // accessory name, input, list of state names
|
|
31
50
|
stateOff: '%s is off', // accessory name
|
|
32
51
|
stateOn: '%s is on', // accessory name
|
|
33
52
|
},
|
|
@@ -40,10 +59,10 @@ const en = {
|
|
|
40
59
|
badType: '%s has invalid schedule type %s. Must be one of: %s', // accessory name, input, list of type names
|
|
41
60
|
badUnits: '%s schedule has invalid time units %s. Must be one of: %s', // accessory name, input, list of unit names
|
|
42
61
|
cron: '%s starting schedule cronjob', // accessory name
|
|
43
|
-
intervalMilliseconds: '%s
|
|
44
|
-
intervalSeconds: '%s
|
|
45
|
-
intervalMinutes: '%s
|
|
46
|
-
intervalHours: '%
|
|
62
|
+
intervalMilliseconds: '%s will trigger in %s milliseconds', // accessory name, number
|
|
63
|
+
intervalSeconds: '%s will trigger in %s seconds', // accessory name, number
|
|
64
|
+
intervalMinutes: '%s will trigger in %s minutes', // accessory name, number
|
|
65
|
+
intervalHours: '% will trigger in %s hours', // accessory name, number
|
|
47
66
|
},
|
|
48
67
|
thermostat: {
|
|
49
68
|
auto: '%s set to Auto', // accessory name
|
|
@@ -61,15 +80,17 @@ const en = {
|
|
|
61
80
|
cancel: 'Cancelled the timer for %s', // accessory name
|
|
62
81
|
expired: '%s timer expired while restarting. Returning to default state…', // accessory name
|
|
63
82
|
resume: '%s resuming timer', // accessory name
|
|
64
|
-
setMilliseconds: '%s
|
|
65
|
-
setSeconds: '%s
|
|
66
|
-
setMinutes: '%s
|
|
67
|
-
setHours: '%s
|
|
83
|
+
setMilliseconds: '%s will reset in %s milliseconds', // accessory name, number
|
|
84
|
+
setSeconds: '%s will reset in %s seconds', // accessory name, number
|
|
85
|
+
setMinutes: '%s will reset in %s minutes', // accessory name, number
|
|
86
|
+
setHours: '%s will reset in %s hours', // accessory name, number
|
|
68
87
|
},
|
|
69
88
|
config: {
|
|
70
89
|
description: {
|
|
71
90
|
commands: 'Execute arbitrary commands (e.g. curl) when the accessory changes state',
|
|
72
91
|
cron: 'Visit crontab.guru for help',
|
|
92
|
+
conditions: 'Set the accessory to its opposite (non-default) value when the specified conditions are met',
|
|
93
|
+
fadeOut: 'Lightbulb will count down rather than abruptly going from 100% to off',
|
|
73
94
|
limiter: 'Restrict the total time this accessory can be set to its non-default value, for each specified period',
|
|
74
95
|
random: 'Time will be randomized with the above value as a maximum',
|
|
75
96
|
schedule: 'Set the accessory to its opposite (non-default) value at specified interval or times',
|
|
@@ -77,6 +98,7 @@ const en = {
|
|
|
77
98
|
timerControlled: 'Instead of mirroring accessory, sensor will be activated when accessory auto-resets',
|
|
78
99
|
},
|
|
79
100
|
enumNames: {
|
|
101
|
+
accessory: 'Accessory',
|
|
80
102
|
auto: 'Auto',
|
|
81
103
|
carbonDioxideSensor: 'Carbon Dioxide',
|
|
82
104
|
carbonMonoxideSensor: 'Carbon Monoxide',
|
|
@@ -99,13 +121,17 @@ const en = {
|
|
|
99
121
|
leakSensor: 'Leak',
|
|
100
122
|
lightbulb: 'Lightbulb',
|
|
101
123
|
lockMechanism: 'Lock',
|
|
124
|
+
log: 'Log Watcher',
|
|
102
125
|
minutely: 'Every Minute',
|
|
103
126
|
month: 'Month',
|
|
104
127
|
monthly: 'Monthly',
|
|
128
|
+
none: 'None',
|
|
105
129
|
occupancySensor: 'Occupancy',
|
|
106
130
|
off: 'Off',
|
|
107
131
|
on: 'On',
|
|
108
132
|
open: 'Open',
|
|
133
|
+
operatorAnd: 'ALL conditions are met', // proceeded by "Trigger when…"
|
|
134
|
+
operatorOr: 'ANY conditions are met', // proceeded by "Trigger when…"
|
|
109
135
|
outlet: 'Outlet',
|
|
110
136
|
milliseconds: 'Milliseconds',
|
|
111
137
|
minutes: 'Minutes',
|
|
@@ -139,6 +165,7 @@ const en = {
|
|
|
139
165
|
yes: 'Yes',
|
|
140
166
|
title: {
|
|
141
167
|
accessory: 'Accessory',
|
|
168
|
+
accessoryState: 'State',
|
|
142
169
|
commandClose: 'Close Command',
|
|
143
170
|
commandOff: 'Off Command',
|
|
144
171
|
commandOn: 'On Command',
|
|
@@ -147,6 +174,8 @@ const en = {
|
|
|
147
174
|
commands: 'Commands',
|
|
148
175
|
commandTemperature: 'Temperature Changed Command',
|
|
149
176
|
commandUnlock: 'Unlock Command',
|
|
177
|
+
condition: 'Condition',
|
|
178
|
+
conditions: 'Trigger Conditions',
|
|
150
179
|
cron: 'Cron',
|
|
151
180
|
cronCustom: 'Custom Cron',
|
|
152
181
|
defaultBrightness: 'Default Brightness',
|
|
@@ -156,17 +185,23 @@ const en = {
|
|
|
156
185
|
delay: 'Delay',
|
|
157
186
|
disableLogging: 'Disable Logging',
|
|
158
187
|
enableWebook: 'Enable Webhook',
|
|
188
|
+
fadeOut: 'Fade Out',
|
|
159
189
|
groupName: 'Group Name',
|
|
160
190
|
interval: 'Interval',
|
|
161
191
|
limit: 'Limit',
|
|
162
192
|
limiter: 'Time Limit',
|
|
193
|
+
minimumTemperature: 'Min Temperature',
|
|
194
|
+
maximumTemperature: 'Max Temperature',
|
|
163
195
|
name: 'Name',
|
|
196
|
+
operator: 'Trigger when…',
|
|
197
|
+
pattern: 'Search String or RegEx',
|
|
164
198
|
period: 'Per',
|
|
165
199
|
preset: 'Preset',
|
|
166
200
|
random: 'Randomize',
|
|
167
201
|
resetOnRestart: 'Reset on Restart',
|
|
168
202
|
schedule: 'Schedule',
|
|
169
203
|
sensor: 'Attach Sensor',
|
|
204
|
+
temperatureUnits: 'Temperature Units',
|
|
170
205
|
timer: 'Auto-Reset Timer',
|
|
171
206
|
timerControlled: 'Activate Sensor on Auto-Reset',
|
|
172
207
|
type: 'Type',
|
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;QACT,YAAY,EAAE,gCAAgC,EAAE,+CAA+C;QAC/F,WAAW,EAAE,sCAAsC,EAAE,8BAA8B;QACnF,eAAe,EAAE,iCAAiC,EAAE,gCAAgC;KACrF;IAED,OAAO,E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Ac;QAC9D,OAAO,EAAE,wBAAwB;QACjC,QAAQ,EAAE,+BAA+B;QACzC,UAAU,EAAE,iEAAiE,EAAE,+BAA+B;QAC9G,WAAW,EAAE,8CAA8C,EAAE,eAAe;QAC5E,mBAAmB,EAAE,gHAAgH,EAAE,eAAe;QACtJ,kBAAkB,EAAE,yCAAyC,EAAE,QAAQ;QACvE,cAAc,EAAE,+GAA+G,EAAE,KAAK;KACvI;CACF,CAAC;AAEF,eAAe,EAAE,CAAC"}
|
package/dist/i18n/es.d.ts
CHANGED
|
@@ -8,6 +8,20 @@ declare const es: {
|
|
|
8
8
|
error: string;
|
|
9
9
|
executed: string;
|
|
10
10
|
};
|
|
11
|
+
conditions: {
|
|
12
|
+
andMultipleLogs: string;
|
|
13
|
+
currentResult: string;
|
|
14
|
+
evaluatingConditions: string;
|
|
15
|
+
satisfied: string;
|
|
16
|
+
notSatisfied: string;
|
|
17
|
+
patternAndConditions: string;
|
|
18
|
+
patternMatch: string;
|
|
19
|
+
selfReference: string;
|
|
20
|
+
statesEqual: string;
|
|
21
|
+
statesNotEqual: string;
|
|
22
|
+
stateUnknown: string;
|
|
23
|
+
statesUnrelated: string;
|
|
24
|
+
};
|
|
11
25
|
lightbulb: {
|
|
12
26
|
brightness: string;
|
|
13
27
|
stateOn: string;
|
|
@@ -27,7 +41,12 @@ declare const es: {
|
|
|
27
41
|
secured: string;
|
|
28
42
|
unsecured: string;
|
|
29
43
|
};
|
|
44
|
+
logWatcher: {
|
|
45
|
+
error: string;
|
|
46
|
+
missingFile: string;
|
|
47
|
+
};
|
|
30
48
|
onOff: {
|
|
49
|
+
badDefault: string;
|
|
31
50
|
stateOff: string;
|
|
32
51
|
stateOn: string;
|
|
33
52
|
};
|
|
@@ -70,6 +89,8 @@ declare const es: {
|
|
|
70
89
|
description: {
|
|
71
90
|
commands: string;
|
|
72
91
|
cron: string;
|
|
92
|
+
conditions: string;
|
|
93
|
+
fadeOut: string;
|
|
73
94
|
limiter: string;
|
|
74
95
|
random: string;
|
|
75
96
|
schedule: string;
|
|
@@ -77,6 +98,7 @@ declare const es: {
|
|
|
77
98
|
timerControlled: string;
|
|
78
99
|
};
|
|
79
100
|
enumNames: {
|
|
101
|
+
accessory: string;
|
|
80
102
|
auto: string;
|
|
81
103
|
carbonDioxideSensor: string;
|
|
82
104
|
carbonMonoxideSensor: string;
|
|
@@ -99,13 +121,17 @@ declare const es: {
|
|
|
99
121
|
leakSensor: string;
|
|
100
122
|
lightbulb: string;
|
|
101
123
|
lockMechanism: string;
|
|
124
|
+
log: string;
|
|
102
125
|
minutely: string;
|
|
103
126
|
month: string;
|
|
104
127
|
monthly: string;
|
|
128
|
+
none: string;
|
|
105
129
|
occupancySensor: string;
|
|
106
130
|
off: string;
|
|
107
131
|
on: string;
|
|
108
132
|
open: string;
|
|
133
|
+
operatorAnd: string;
|
|
134
|
+
operatorOr: string;
|
|
109
135
|
outlet: string;
|
|
110
136
|
milliseconds: string;
|
|
111
137
|
minutes: string;
|
|
@@ -139,6 +165,7 @@ declare const es: {
|
|
|
139
165
|
yes: string;
|
|
140
166
|
title: {
|
|
141
167
|
accessory: string;
|
|
168
|
+
accessoryState: string;
|
|
142
169
|
commandClose: string;
|
|
143
170
|
commandOff: string;
|
|
144
171
|
commandOn: string;
|
|
@@ -147,6 +174,8 @@ declare const es: {
|
|
|
147
174
|
commands: string;
|
|
148
175
|
commandTemperature: string;
|
|
149
176
|
commandUnlock: string;
|
|
177
|
+
condition: string;
|
|
178
|
+
conditions: string;
|
|
150
179
|
cron: string;
|
|
151
180
|
cronCustom: string;
|
|
152
181
|
defaultBrightness: string;
|
|
@@ -156,17 +185,23 @@ declare const es: {
|
|
|
156
185
|
delay: string;
|
|
157
186
|
disableLogging: string;
|
|
158
187
|
enableWebook: string;
|
|
188
|
+
fadeOut: string;
|
|
159
189
|
groupName: string;
|
|
160
190
|
interval: string;
|
|
161
191
|
limit: string;
|
|
162
192
|
limiter: string;
|
|
193
|
+
minimumTemperature: string;
|
|
194
|
+
maximumTemperature: string;
|
|
163
195
|
name: string;
|
|
196
|
+
operator: string;
|
|
197
|
+
pattern: string;
|
|
164
198
|
period: string;
|
|
165
199
|
preset: string;
|
|
166
200
|
random: string;
|
|
167
201
|
resetOnRestart: string;
|
|
168
202
|
schedule: string;
|
|
169
203
|
sensor: string;
|
|
204
|
+
temperatureUnits: string;
|
|
170
205
|
timer: string;
|
|
171
206
|
timerControlled: string;
|
|
172
207
|
type: string;
|