From e7e9e2cf85226bcfc7ab25bfb6ce5c5ed3640c96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Thomas=20Lov=C3=A9n?= Date: Mon, 2 Dec 2019 09:23:20 +0100 Subject: [PATCH] Allow setting temperature to 0 degrees (#4300) --- src/dialogs/more-info/controls/more-info-climate.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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`