diff --git a/src/dialogs/more-info/controls/more-info-climate.ts b/src/dialogs/more-info/controls/more-info-climate.ts
index 7837536d14..bb1a4b2275 100644
--- a/src/dialogs/more-info/controls/more-info-climate.ts
+++ b/src/dialogs/more-info/controls/more-info-climate.ts
@@ -100,7 +100,8 @@ class MoreInfoClimate extends LitElement {
`
: ""}
- ${stateObj.attributes.temperature !== undefined
+ ${stateObj.attributes.temperature !== undefined &&
+ stateObj.attributes.temperature !== null
? html`
`
: ""}
- ${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`