From 203a2cbc755111dc98c6f3cbf17e4ef5cf256a41 Mon Sep 17 00:00:00 2001 From: Donavan Becker Date: Sun, 21 Jan 2024 18:32:05 -0600 Subject: [PATCH] Update index.html --- src/homebridge-ui/public/index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/homebridge-ui/public/index.html b/src/homebridge-ui/public/index.html index 088df4c7..70a4bb37 100644 --- a/src/homebridge-ui/public/index.html +++ b/src/homebridge-ui/public/index.html @@ -176,7 +176,11 @@
Disclaimer
try { const currentConfig = await homebridge.getPluginConfig() const hostname = window.location.hostname - const port = currentConfig[0].port || '8585' + let port = '8585' + if (currentConfig[0].port) { + document.getElementById('inputPort').value = currentConfig[0].port + port = currentConfig[0].port + } try { await homebridge.request('Start Resideo Login Server') } catch (err) {