diff --git a/src/dialogs/more-info/controls/more-info-climate.ts b/src/dialogs/more-info/controls/more-info-climate.ts index 2a66080055..03b94c3827 100644 --- a/src/dialogs/more-info/controls/more-info-climate.ts +++ b/src/dialogs/more-info/controls/more-info-climate.ts @@ -377,12 +377,14 @@ class MoreInfoClimate extends LitElement { private _handlePresetmodeChanged(ev) { const newVal = ev.target.value || null; - this._callServiceHelper( - this.stateObj!.attributes.preset_mode, - newVal, - "set_preset_mode", - { preset_mode: newVal } - ); + if (newVal) { + this._callServiceHelper( + this.stateObj!.attributes.preset_mode, + newVal, + "set_preset_mode", + { preset_mode: newVal } + ); + } } private async _callServiceHelper(