Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix spelling of entity_id #78

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions panels/alarm.html
Original file line number Diff line number Diff line change
Expand Up @@ -2095,7 +2095,7 @@ <h1>Help Guide</h1>

entityTapped(ev){
ev.stopPropagation();
this.fire('hass-more-info', { entityId: ev.target.getAttribute('data-entity')});
this.fire('hass-more-info', { entity_id: ev.target.getAttribute('data-entity')});
}

//Monitors the alarm status for any changes
Expand Down Expand Up @@ -2415,7 +2415,7 @@ <h1>Help Guide</h1>

//Call one of the alarm services
alarmService(call){
this.hass.callService('alarm_control_panel', call, {'entity_id': this.alarm.entityId, 'code': this.code });
this.hass.callService('alarm_control_panel', call, {'entity_id': this.alarm.entity_id, 'code': this.code });
}

//Restart Home Assistant
Expand Down