homebridge-plugin-utils 1.12.0 → 1.13.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/dist/ui/webUi.mjs +1 -4
- package/package.json +2 -2
package/dist/ui/webUi.mjs
CHANGED
|
@@ -142,11 +142,8 @@ export class webUi {
|
|
|
142
142
|
document.getElementById("menuFeatureOptions").addEventListener("click", () => this.featureOptions.show());
|
|
143
143
|
document.getElementById("menuSettings").addEventListener("click", () => this.#showSettings());
|
|
144
144
|
|
|
145
|
-
// Get the list of devices the plugin knows about.
|
|
146
|
-
const devices = await homebridge.getCachedAccessories();
|
|
147
|
-
|
|
148
145
|
// If we've got devices detected, we launch our feature option UI. Otherwise, we launch our first run UI.
|
|
149
|
-
if(this.featureOptions.currentConfig.length &&
|
|
146
|
+
if(this.featureOptions.currentConfig.length && !(await this.#processHandler(this.#firstRun.isRequired))) {
|
|
150
147
|
|
|
151
148
|
document.getElementById("menuWrapper").style.display = "inline-flex";
|
|
152
149
|
this.featureOptions.show();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "homebridge-plugin-utils",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.13.0",
|
|
4
4
|
"displayName": "Homebridge Plugin Utilities",
|
|
5
5
|
"description": "Opinionated utilities to provide common capabilities and create rich configuration webUI experiences for Homebridge plugins.",
|
|
6
6
|
"author": {
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"homebridge": "1.8.4",
|
|
46
46
|
"shx": "0.3.4",
|
|
47
47
|
"typescript": "5.7.2",
|
|
48
|
-
"typescript-eslint": "^8.18.
|
|
48
|
+
"typescript-eslint": "^8.18.2"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
51
|
"mqtt": "5.10.3"
|