From 6675121b853745c429fc983c8fcf8b2dda60a411 Mon Sep 17 00:00:00 2001 From: Paulus Schoutsen Date: Mon, 5 Feb 2024 06:48:18 -0500 Subject: [PATCH] Allow deselecting all values (#19677) --- src/panels/history/ha-panel-history.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/panels/history/ha-panel-history.ts b/src/panels/history/ha-panel-history.ts index 52f640e2c4..e6f601199c 100644 --- a/src/panels/history/ha-panel-history.ts +++ b/src/panels/history/ha-panel-history.ts @@ -624,7 +624,7 @@ class HaPanelHistory extends SubscribeMixin(LitElement) { } private _targetsChanged(ev) { - this._targetPickerValue = ev.detail.value; + this._targetPickerValue = ev.detail.value || {}; this._updatePath(); }