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