mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-23 09:16:38 +00:00
CI corrections
This commit is contained in:
parent
d315bf6473
commit
54f6e9a670
@ -43,8 +43,9 @@ export default new Polymer({
|
|||||||
type: String,
|
type: String,
|
||||||
computed: 'computeSubmitCaption(stateObj)',
|
computed: 'computeSubmitCaption(stateObj)',
|
||||||
},
|
},
|
||||||
fieldInput : {
|
|
||||||
type: Object, value: {}
|
fieldInput: {
|
||||||
|
type: Object, value: {},
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -57,7 +58,7 @@ export default new Polymer({
|
|||||||
},
|
},
|
||||||
|
|
||||||
fieldChanged(ev) {
|
fieldChanged(ev) {
|
||||||
const el = ev.target
|
const el = ev.target;
|
||||||
this.fieldInput[el.id] = el.value;
|
this.fieldInput[el.id] = el.value;
|
||||||
},
|
},
|
||||||
|
|
||||||
@ -66,7 +67,7 @@ export default new Polymer({
|
|||||||
|
|
||||||
const data = {
|
const data = {
|
||||||
configure_id: this.stateObj.attributes.configure_id,
|
configure_id: this.stateObj.attributes.configure_id,
|
||||||
fields: this.fieldInput
|
fields: this.fieldInput;
|
||||||
};
|
};
|
||||||
|
|
||||||
serviceActions.callService('configurator', 'configure', data).then(
|
serviceActions.callService('configurator', 'configure', data).then(
|
||||||
|
Loading…
x
Reference in New Issue
Block a user