diff --git a/src/components/buttons/ha-call-service-button.js b/src/components/buttons/ha-call-service-button.js index cd229a772f..c8d7b79b56 100644 --- a/src/components/buttons/ha-call-service-button.js +++ b/src/components/buttons/ha-call-service-button.js @@ -3,7 +3,7 @@ import { PolymerElement } from "@polymer/polymer/polymer-element"; import "./ha-progress-button"; import { EventsMixin } from "../../mixins/events-mixin"; -import { showConfirmationDialog } from "../../dialogs/confirmation/show-dialog-confirmation"; +import { showConfirmationDialog } from "../../dialogs/generic/show-dialog-box"; /* * @appliesMixin EventsMixin diff --git a/src/dialogs/config-flow/step-flow-create-entry.ts b/src/dialogs/config-flow/step-flow-create-entry.ts index 9fe62ffd2b..07cad8a94a 100644 --- a/src/dialogs/config-flow/step-flow-create-entry.ts +++ b/src/dialogs/config-flow/step-flow-create-entry.ts @@ -25,6 +25,7 @@ import { } from "../../data/area_registry"; import { DataEntryFlowStepCreateEntry } from "../../data/data_entry_flow"; import { FlowConfig } from "./show-dialog-data-entry-flow"; +import { showPromptDialog } from "../generic/show-dialog-box"; @customElement("step-flow-create-entry") class StepFlowCreateEntry extends LitElement { @@ -93,7 +94,7 @@ class StepFlowCreateEntry extends LitElement {
${this._params.text}
+ ${this._params.text + ? html` +${this._params.text}
+ ` + : ""} + ${this._params.prompt + ? html` +