mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-10 10:56:34 +00:00
ZwaveJS controller migration flow (#25003)
* ZwaveJS migration flow * Show exact progress in options flow * progress fix * Apply suggestions from code review Co-authored-by: Bram Kragten <mail@bramkragten.nl> * remove unused string * import fix * fix selectedDomain * entryId -> handler * Update src/translations/en.json Co-authored-by: Martin Hjelmare <marhje52@gmail.com> --------- Co-authored-by: Bram Kragten <mail@bramkragten.nl> Co-authored-by: Martin Hjelmare <marhje52@gmail.com>
This commit is contained in:
parent
933fb1327a
commit
9fc28e5abb
@ -419,11 +419,6 @@ class ZWaveJSConfigDashboard extends SubscribeMixin(LitElement) {
|
|||||||
"ui.panel.config.zwave_js.common.rebuild_network_routes"
|
"ui.panel.config.zwave_js.common.rebuild_network_routes"
|
||||||
)}
|
)}
|
||||||
</ha-button>
|
</ha-button>
|
||||||
<ha-button @click=${this._openOptionFlow}>
|
|
||||||
${this.hass.localize(
|
|
||||||
"ui.panel.config.zwave_js.common.reconfigure_server"
|
|
||||||
)}
|
|
||||||
</ha-button>
|
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
<ha-card>
|
<ha-card>
|
||||||
@ -508,7 +503,15 @@ class ZWaveJSConfigDashboard extends SubscribeMixin(LitElement) {
|
|||||||
@change=${this._handleRestoreFileSelected}
|
@change=${this._handleRestoreFileSelected}
|
||||||
style="display: none"
|
style="display: none"
|
||||||
/>
|
/>
|
||||||
</div>`}
|
</div>
|
||||||
|
<ha-button
|
||||||
|
@click=${this._openOptionFlow}
|
||||||
|
class="warning migrate-button"
|
||||||
|
>
|
||||||
|
${this.hass.localize(
|
||||||
|
"ui.panel.config.zwave_js.dashboard.nvm_backup.migrate"
|
||||||
|
)}
|
||||||
|
</ha-button>`}
|
||||||
</div>
|
</div>
|
||||||
</ha-card>
|
</ha-card>
|
||||||
`
|
`
|
||||||
@ -964,6 +967,10 @@ class ZWaveJSConfigDashboard extends SubscribeMixin(LitElement) {
|
|||||||
.button-content {
|
.button-content {
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.migrate-button {
|
||||||
|
margin-left: auto;
|
||||||
|
}
|
||||||
`,
|
`,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
@ -5660,7 +5660,6 @@
|
|||||||
"back": "Back",
|
"back": "Back",
|
||||||
"add_node": "Add device",
|
"add_node": "Add device",
|
||||||
"remove_node": "Remove device",
|
"remove_node": "Remove device",
|
||||||
"reconfigure_server": "Re-configure server",
|
|
||||||
"rebuild_network_routes": "Rebuild network routes",
|
"rebuild_network_routes": "Rebuild network routes",
|
||||||
"in_progress_inclusion_exclusion": "Z-Wave JS is searching for devices",
|
"in_progress_inclusion_exclusion": "Z-Wave JS is searching for devices",
|
||||||
"cancel_inclusion_exclusion": "Stop searching"
|
"cancel_inclusion_exclusion": "Stop searching"
|
||||||
@ -5681,7 +5680,9 @@
|
|||||||
"backup_failed": "Failed to download backup",
|
"backup_failed": "Failed to download backup",
|
||||||
"restore_complete": "Backup restored",
|
"restore_complete": "Backup restored",
|
||||||
"restore_failed": "Failed to restore backup",
|
"restore_failed": "Failed to restore backup",
|
||||||
"downloading": "Downloading backup"
|
"downloading": "Downloading backup",
|
||||||
|
"restoring": "Restoring backup",
|
||||||
|
"migrate": "Migrate controller"
|
||||||
},
|
},
|
||||||
"statistics": {
|
"statistics": {
|
||||||
"title": "Controller statistics",
|
"title": "Controller statistics",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user