🧹 domain-filter as attribute as it does not change (#2271)

* 🔨 `domain-filter` as attribute as it does not change

* Address review comments
This commit is contained in:
Ian Richardson 2018-12-13 02:40:57 -06:00 committed by Paulus Schoutsen
parent 118f28285e
commit 18de427145
5 changed files with 5 additions and 5 deletions

View File

@ -71,7 +71,7 @@ export class HuiAlarmPanelCardEditor extends hassLocalizeLitMixin(LitElement)
.hass="${this.hass}" .hass="${this.hass}"
.value="${this._entity}" .value="${this._entity}"
.configValue=${"entity"} .configValue=${"entity"}
.domainFilter=${"alarm_control_panel"} domain-filter="alarm_control_panel"
@change="${this._valueChanged}" @change="${this._valueChanged}"
allow-custom-entity allow-custom-entity
></ha-entity-picker> ></ha-entity-picker>

View File

@ -94,7 +94,7 @@ export class HuiGaugeCardEditor extends hassLocalizeLitMixin(LitElement)
.hass="${this.hass}" .hass="${this.hass}"
.value="${this._entity}" .value="${this._entity}"
.configValue=${"entity"} .configValue=${"entity"}
.domainFilter=${"sensor"} domain-filter="sensor"
@change="${this._valueChanged}" @change="${this._valueChanged}"
allow-custom-entity allow-custom-entity
></ha-entity-picker> ></ha-entity-picker>

View File

@ -67,7 +67,7 @@ export class HuiLightCardEditor extends hassLocalizeLitMixin(LitElement)
.hass="${this.hass}" .hass="${this.hass}"
.value="${this._entity}" .value="${this._entity}"
.configValue=${"entity"} .configValue=${"entity"}
.domainFilter=${"light"} domain-filter="light"
@change="${this._valueChanged}" @change="${this._valueChanged}"
allow-custom-entity allow-custom-entity
></ha-entity-picker> ></ha-entity-picker>

View File

@ -97,7 +97,7 @@ export class HuiSensorCardEditor extends hassLocalizeLitMixin(LitElement)
.hass="${this.hass}" .hass="${this.hass}"
.value="${this._entity}" .value="${this._entity}"
.configValue=${"entity"} .configValue=${"entity"}
.domainFilter=${"sensor"} domain-filter="sensor"
@change="${this._valueChanged}" @change="${this._valueChanged}"
allow-custom-entity allow-custom-entity
></ha-entity-picker> ></ha-entity-picker>

View File

@ -66,7 +66,7 @@ export class HuiThermostatCardEditor extends hassLocalizeLitMixin(LitElement)
.hass="${this.hass}" .hass="${this.hass}"
.value="${this._entity}" .value="${this._entity}"
.configValue=${"entity"} .configValue=${"entity"}
.domainFilter=${"climate"} domain-filter="climate"
@change="${this._valueChanged}" @change="${this._valueChanged}"
allow-custom-entity allow-custom-entity
></ha-entity-picker> ></ha-entity-picker>