Add reconfigure config entry (#19794)

This commit is contained in:
G Johansson
2024-03-04 20:23:01 +01:00
committed by GitHub
parent 42aa18ac16
commit 8b77024fb9
8 changed files with 44 additions and 2 deletions

View File

@@ -23,7 +23,7 @@ export const showConfigFlowDialog = (
loadDevicesAndAreas: true,
createFlow: async (hass, handler) => {
const [step] = await Promise.all([
createConfigFlow(hass, handler),
createConfigFlow(hass, handler, dialogParams.entryId),
hass.loadFragmentTranslation("config"),
hass.loadBackendTranslation("config", handler),
hass.loadBackendTranslation("selector", handler),

View File

@@ -139,6 +139,7 @@ export interface DataEntryFlowDialogParams {
}) => void;
flowConfig: FlowConfig;
showAdvanced?: boolean;
entryId?: string;
dialogParentElement?: HTMLElement;
}