mirror of
https://github.com/home-assistant/frontend.git
synced 2025-06-18 16:16:38 +00:00
parent
0ddb9e0eb9
commit
ba76dfd3db
@ -90,6 +90,7 @@ export default new Polymer({
|
||||
callService(service, data) {
|
||||
const serviceData = data || {};
|
||||
serviceData.entity_id = this.stateObj.entityId;
|
||||
this.hass.serviceActions.callService('alarm_control_panel', service, serviceData);
|
||||
this.hass.serviceActions.callService('alarm_control_panel', service, serviceData)
|
||||
.then(() => { this.enteredCode = ''; });
|
||||
},
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user