mirror of
https://github.com/home-assistant/frontend.git
synced 2025-12-24 12:49:19 +00:00
Refactor config flow dialog to make it reusable (#3488)
* Refactor config flow dialog to make it reusable * More refactor * forgot to save * Render labels correcetly
This commit is contained in:
@@ -18,7 +18,6 @@ import {
|
||||
getConfigFlowsInProgress,
|
||||
getConfigEntries,
|
||||
ConfigEntry,
|
||||
ConfigFlowProgress,
|
||||
localizeConfigFlowTitle,
|
||||
} from "../data/config_entries";
|
||||
import { compare } from "../common/string/compare";
|
||||
@@ -28,13 +27,14 @@ import { debounce } from "../common/util/debounce";
|
||||
import { fireEvent } from "../common/dom/fire_event";
|
||||
import { onboardIntegrationStep } from "../data/onboarding";
|
||||
import { genClientId } from "home-assistant-js-websocket";
|
||||
import { DataEntryFlowProgress } from "../data/data_entry_flow";
|
||||
|
||||
@customElement("onboarding-integrations")
|
||||
class OnboardingIntegrations extends LitElement {
|
||||
@property() public hass!: HomeAssistant;
|
||||
@property() public onboardingLocalize!: LocalizeFunc;
|
||||
@property() private _entries?: ConfigEntry[];
|
||||
@property() private _discovered?: ConfigFlowProgress[];
|
||||
@property() private _discovered?: DataEntryFlowProgress[];
|
||||
private _unsubEvents?: () => void;
|
||||
|
||||
public connectedCallback() {
|
||||
|
||||
Reference in New Issue
Block a user