mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
Fix complex attribute and expressionless property bindings (#19348)
This commit is contained in:
parent
70fcea0c2b
commit
b881a2a88a
@ -247,8 +247,8 @@ export class HaDateRangePicker extends LitElement {
|
|||||||
?auto-apply=${this.autoApply}
|
?auto-apply=${this.autoApply}
|
||||||
time-picker=${this.timePicker}
|
time-picker=${this.timePicker}
|
||||||
twentyfour-hours=${this._hour24format}
|
twentyfour-hours=${this._hour24format}
|
||||||
start-date=${this.startDate}
|
start-date=${this.startDate.toISOString()}
|
||||||
end-date=${this.endDate}
|
end-date=${this.endDate.toISOString()}
|
||||||
?ranges=${this.ranges !== false}
|
?ranges=${this.ranges !== false}
|
||||||
opening-direction=${this.openingDirection ||
|
opening-direction=${this.openingDirection ||
|
||||||
this._calcedOpeningDirection}
|
this._calcedOpeningDirection}
|
||||||
|
@ -64,7 +64,7 @@ class DialogZWaveJSHardResetController extends LitElement {
|
|||||||
<div>
|
<div>
|
||||||
<ha-svg-icon
|
<ha-svg-icon
|
||||||
.path=${iconMap[this._resetStatus]}
|
.path=${iconMap[this._resetStatus]}
|
||||||
.class="icon"
|
class="icon"
|
||||||
></ha-svg-icon>
|
></ha-svg-icon>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
@ -220,7 +220,7 @@ export class HassioNetwork extends LitElement {
|
|||||||
.label=${this.hass.localize(
|
.label=${this.hass.localize(
|
||||||
"ui.panel.config.network.supervisor.wifi_password"
|
"ui.panel.config.network.supervisor.wifi_password"
|
||||||
)}
|
)}
|
||||||
.version="wifi"
|
.version=${"wifi"}
|
||||||
@change=${this._handleInputValueChangedWifi}
|
@change=${this._handleInputValueChangedWifi}
|
||||||
>
|
>
|
||||||
</ha-textfield>
|
</ha-textfield>
|
||||||
|
@ -183,7 +183,7 @@ class HuiTargetTemperatureCardFeature
|
|||||||
<ha-control-button-group>
|
<ha-control-button-group>
|
||||||
<ha-control-number-buttons
|
<ha-control-number-buttons
|
||||||
.formatOptions=${options}
|
.formatOptions=${options}
|
||||||
.target="value"
|
.target=${"value"}
|
||||||
.value=${this.stateObj.attributes.temperature}
|
.value=${this.stateObj.attributes.temperature}
|
||||||
.unit=${this.hass.config.unit_system.temperature}
|
.unit=${this.hass.config.unit_system.temperature}
|
||||||
.min=${this._min}
|
.min=${this._min}
|
||||||
|
@ -36,8 +36,6 @@
|
|||||||
"no-legacy-attribute": "error",
|
"no-legacy-attribute": "error",
|
||||||
// Binding types
|
// Binding types
|
||||||
"no-boolean-in-attribute-binding": "warning",
|
"no-boolean-in-attribute-binding": "warning",
|
||||||
"no-expressionless-property-binding": "warning",
|
|
||||||
"no-complex-attribute-binding": "warning",
|
|
||||||
"no-nullable-attribute-binding": "warning",
|
"no-nullable-attribute-binding": "warning",
|
||||||
"no-incompatible-type-binding": "warning",
|
"no-incompatible-type-binding": "warning",
|
||||||
// LitElement
|
// LitElement
|
||||||
|
Loading…
x
Reference in New Issue
Block a user