it was right... (#2564)

This commit is contained in:
Bram Kragten 2019-01-26 02:33:36 +01:00 committed by Paulus Schoutsen
parent dc334844ed
commit cad4fa408e

View File

@ -52,7 +52,7 @@ class HuiGroupEntityRow extends hassLocalizeLitMixin(LitElement)
return html`
<hui-generic-entity-row .hass="${this.hass}" .config="${this._config}">
${
this._computeCanToggle(stateObj.entity_id)
this._computeCanToggle(stateObj.attributes.entity_id)
? html`
<ha-entity-toggle
.hass="${this.hass}"