mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-25 18:26:35 +00:00
parent
f7253a73a5
commit
3cf14bb2e1
@ -98,9 +98,7 @@ class MoreInfoClimate extends LitElement {
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
${supportTargetTemperature &&
|
${stateObj.attributes.temperature !== undefined &&
|
||||||
!supportTargetTemperatureRange &&
|
|
||||||
stateObj.attributes.temperature !== undefined &&
|
|
||||||
stateObj.attributes.temperature !== null
|
stateObj.attributes.temperature !== null
|
||||||
? html`
|
? html`
|
||||||
<ha-climate-control
|
<ha-climate-control
|
||||||
@ -114,11 +112,10 @@ class MoreInfoClimate extends LitElement {
|
|||||||
></ha-climate-control>
|
></ha-climate-control>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
${supportTargetTemperatureRange &&
|
${(stateObj.attributes.target_temp_low !== undefined &&
|
||||||
((stateObj.attributes.target_temp_low !== undefined &&
|
|
||||||
stateObj.attributes.target_temp_low !== null) ||
|
stateObj.attributes.target_temp_low !== null) ||
|
||||||
(stateObj.attributes.target_temp_high !== undefined &&
|
(stateObj.attributes.target_temp_high !== undefined &&
|
||||||
stateObj.attributes.target_temp_high !== null))
|
stateObj.attributes.target_temp_high !== null)
|
||||||
? html`
|
? html`
|
||||||
<ha-climate-control
|
<ha-climate-control
|
||||||
.hass=${this.hass}
|
.hass=${this.hass}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user