Change Data Entry Flow loading step description logic + cleanups (#9558)

* Change Data Entry Flow loading step description logic + cleanups

Fixes #6251

* Lint

* Address comment
This commit is contained in:
Bram Kragten
2021-07-15 21:07:25 +02:00
committed by GitHub
parent cc81239b9d
commit 1206e2d75f
12 changed files with 177 additions and 76 deletions

View File

@@ -8,13 +8,11 @@ import { configFlowContentStyles } from "./styles";
@customElement("step-flow-external")
class StepFlowExternal extends LitElement {
public flowConfig!: FlowConfig;
@property({ attribute: false }) public flowConfig!: FlowConfig;
@property()
public hass!: HomeAssistant;
@property({ attribute: false }) public hass!: HomeAssistant;
@property()
private step!: DataEntryFlowStepExternal;
@property({ attribute: false }) public step!: DataEntryFlowStepExternal;
protected render(): TemplateResult {
const localize = this.hass.localize;