mirror of
https://github.com/home-assistant/frontend.git
synced 2025-07-27 03:06:41 +00:00
parent
4cdc4765f7
commit
c5aa000a97
@ -100,7 +100,8 @@ class MoreInfoClimate extends LitElement {
|
|||||||
</div>
|
</div>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
${stateObj.attributes.temperature !== undefined
|
${stateObj.attributes.temperature !== undefined &&
|
||||||
|
stateObj.attributes.temperature !== null
|
||||||
? html`
|
? html`
|
||||||
<ha-climate-control
|
<ha-climate-control
|
||||||
.value=${stateObj.attributes.temperature}
|
.value=${stateObj.attributes.temperature}
|
||||||
@ -112,8 +113,10 @@ class MoreInfoClimate extends LitElement {
|
|||||||
></ha-climate-control>
|
></ha-climate-control>
|
||||||
`
|
`
|
||||||
: ""}
|
: ""}
|
||||||
${stateObj.attributes.target_temp_low !== undefined ||
|
${(stateObj.attributes.target_temp_low !== undefined &&
|
||||||
stateObj.attributes.target_temp_high !== undefined
|
stateObj.attributes.target_temp_low !== null) ||
|
||||||
|
(stateObj.attributes.target_temp_high !== undefined &&
|
||||||
|
stateObj.attributes.target_temp_high !== null)
|
||||||
? html`
|
? html`
|
||||||
<ha-climate-control
|
<ha-climate-control
|
||||||
.value=${stateObj.attributes.target_temp_low}
|
.value=${stateObj.attributes.target_temp_low}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user