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