diff --git a/src/dialogs/more-info/controls/more-info-climate.ts b/src/dialogs/more-info/controls/more-info-climate.ts index 57a9541a1b..abad9c84c2 100644 --- a/src/dialogs/more-info/controls/more-info-climate.ts +++ b/src/dialogs/more-info/controls/more-info-climate.ts @@ -100,7 +100,7 @@ class MoreInfoClimate extends LitElement { ` : ""} - ${stateObj.attributes.temperature + ${stateObj.attributes.temperature !== undefined ? html` ` : ""} - ${stateObj.attributes.target_temp_low || - stateObj.attributes.target_temp_high + ${stateObj.attributes.target_temp_low !== undefined || + stateObj.attributes.target_temp_high !== undefined ? html`