From 51a29833102e176afcf2308fb85adc280ac4e817 Mon Sep 17 00:00:00 2001 From: Christopher Altona Date: Thu, 30 Jun 2022 01:48:16 +0000 Subject: [PATCH] React to updates correctly --- src/panels/history/ha-panel-history.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/panels/history/ha-panel-history.ts b/src/panels/history/ha-panel-history.ts index c55030ba13..3b1bb266b1 100644 --- a/src/panels/history/ha-panel-history.ts +++ b/src/panels/history/ha-panel-history.ts @@ -259,7 +259,12 @@ class HaPanelHistory extends SubscribeMixin(LitElement) { changedProps.has("_startDate") || changedProps.has("_endDate") || changedProps.has("_targetPickerValue") || - changedProps.has("_entities") + changedProps.has("_entities") || + changedProps.has("_stateEntities") || + changedProps.has("_devices") || + changedProps.has("_deviceIdToEntities") || + changedProps.has("_areaIdToEntities") || + changedProps.has("_areaIdToDevices") ) { this._getHistory(); }