mirror of
https://github.com/home-assistant/frontend.git
synced 2025-11-09 19:09:48 +00:00
Upgrade eslint to 4.8.0 (#445)
* Upgrade eslint * Fix post-merge errors
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user