Make credential setup keyboard-safe and verifiable

This commit is contained in:
Gabriel Brown
2026-08-18 06:14:07 -04:00
parent de1b8a7673
commit 3a2295ff53
5 changed files with 70 additions and 9 deletions
@@ -18,6 +18,7 @@ Singleton {
property bool configured: false
property string lastError: ""
property string pendingPayload: ""
property var refreshHomeAssistant: function() { HomeAssistant.refresh(); }
readonly property bool busy: statusProc.running || writeProc.running
signal configurationSaved
@@ -52,7 +53,7 @@ Singleton {
root.lastError = "";
if (saved) {
root.configurationSaved();
HomeAssistant.refresh();
root.refreshHomeAssistant();
}
}
@@ -102,7 +103,6 @@ Singleton {
command: [root.helperPath, "write"]
stdinEnabled: true
stdout: StdioCollector {
id: writeOutput
onStreamFinished: root.applyResult(this.text, true)
}
onStarted: {