homebridge-roborock-vacuum 1.3.0 → 1.3.2
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.
|
@@ -16,6 +16,7 @@
|
|
|
16
16
|
Password
|
|
17
17
|
<input id="password" type="password" placeholder="Password" />
|
|
18
18
|
</label>
|
|
19
|
+
<p class="help">Use password login to test credentials and save a token.</p>
|
|
19
20
|
<label>
|
|
20
21
|
Region
|
|
21
22
|
<select id="base-url">
|
|
@@ -34,7 +35,7 @@
|
|
|
34
35
|
Enable debug logging
|
|
35
36
|
</label>
|
|
36
37
|
<div class="actions">
|
|
37
|
-
<button id="login" class="secondary">Login</button>
|
|
38
|
+
<button id="login" class="secondary">Password Login</button>
|
|
38
39
|
<button id="logout" class="secondary hidden">Logout</button>
|
|
39
40
|
</div>
|
|
40
41
|
</section>
|
|
@@ -200,6 +200,8 @@ function setLoggedInState(isLoggedIn) {
|
|
|
200
200
|
elements.twoFactorSection.classList.toggle('hidden', isLoggedIn);
|
|
201
201
|
elements.email.readOnly = isLoggedIn;
|
|
202
202
|
elements.email.parentElement.classList.toggle('readonly', isLoggedIn);
|
|
203
|
+
elements.baseUrl.disabled = isLoggedIn;
|
|
204
|
+
elements.baseUrl.parentElement.classList.toggle('readonly', isLoggedIn);
|
|
203
205
|
}
|
|
204
206
|
|
|
205
207
|
async function updatePluginConfig(patch) {
|