Upgrade eslint to 4.8.0 (#445)

* Upgrade eslint

* Fix post-merge errors
This commit is contained in:
Andrey
2017-10-09 07:08:06 +03:00
committed by Paulus Schoutsen
parent 121c0d0879
commit bc0d44ca81
74 changed files with 651 additions and 639 deletions

View File

@@ -129,7 +129,8 @@ Polymer({
currentState = this.stateObj;
this.hass.callService(
serviceDomain, service,
{ entity_id: this.stateObj.entity_id })
{ entity_id: this.stateObj.entity_id }
)
.then(function () {
setTimeout(function () {
// If after 2 seconds we have not received a state update

View File

@@ -116,7 +116,7 @@ Polymer({
return window.hassUtil.stateIcon(state);
case 'sun':
return state.state === 'above_horizon' ?
window.hassUtil.domainIcon(domain) : 'mdi:brightness-3';
window.hassUtil.domainIcon(domain) : 'mdi:brightness-3';
default:
return null;
}