Update lint tools (#2576)

* Update lint

* Prettier Hass.io

* Update prettier
This commit is contained in:
Paulus Schoutsen
2019-01-26 19:34:07 -08:00
committed by GitHub
parent 5a6d537d43
commit 8db111c2fb
68 changed files with 1174 additions and 1475 deletions

View File

@@ -50,20 +50,18 @@ class HuiScriptEntityRow extends hassLocalizeLitMixin(LitElement)
return html`
${this.renderStyle()}
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
${
stateObj.attributes.can_cancel
? html`
<ha-entity-toggle
.hass="${this.hass}"
.stateObj="${stateObj}"
></ha-entity-toggle>
`
: html`
<paper-button @click="${this._callService}">
${this.localize("ui.card.script.execute")}
</paper-button>
`
}
${stateObj.attributes.can_cancel
? html`
<ha-entity-toggle
.hass="${this.hass}"
.stateObj="${stateObj}"
></ha-entity-toggle>
`
: html`
<paper-button @click="${this._callService}">
${this.localize("ui.card.script.execute")}
</paper-button>
`}
</hui-generic-entity-row>
`;
}