Skip to content

Commit

Permalink
Select suggested area for device during config flow (#14383)
Browse files Browse the repository at this point in the history
  • Loading branch information
piitaya authored Nov 15, 2022
1 parent ae15dd6 commit bda5b97
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/dialogs/config-flow/step-flow-create-entry.ts
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ class StepFlowCreateEntry extends LitElement {
<ha-area-picker
.hass=${this.hass}
.device=${device.id}
.value=${device.area_id ?? undefined}
@value-changed=${this._areaPicked}
></ha-area-picker>
</div>
Expand Down

0 comments on commit bda5b97

Please sign in to comment.