mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-19 15:26:36 +00:00
Use handler instead of domain (#1093)
This commit is contained in:
parent
1335a74605
commit
a597749020
@ -38,7 +38,7 @@
|
|||||||
<template is='dom-repeat' items='[[_progress]]'>
|
<template is='dom-repeat' items='[[_progress]]'>
|
||||||
<div class='config-entry-row'>
|
<div class='config-entry-row'>
|
||||||
<paper-item-body>
|
<paper-item-body>
|
||||||
[[_computeIntegrationTitle(localize, item.domain)]]
|
[[_computeIntegrationTitle(localize, item.handler)]]
|
||||||
</paper-item-body>
|
</paper-item-body>
|
||||||
<paper-button on-click='_continueFlow'>Configure</paper-button>
|
<paper-button on-click='_continueFlow'>Configure</paper-button>
|
||||||
</div>
|
</div>
|
||||||
@ -140,7 +140,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
_createFlow(ev) {
|
_createFlow(ev) {
|
||||||
this.hass.callApi('post', 'config/config_entries/flow', { domain: ev.model.item })
|
this.hass.callApi('post', 'config/config_entries/flow', { handler: ev.model.item })
|
||||||
.then((flow) => {
|
.then((flow) => {
|
||||||
this._userCreatedFlow = true;
|
this._userCreatedFlow = true;
|
||||||
this.setProperties({
|
this.setProperties({
|
||||||
|
Loading…
x
Reference in New Issue
Block a user