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