Skip to content

Commit

Permalink
Fix bug where entities with filter don't always update
Browse files Browse the repository at this point in the history
  • Loading branch information
rianadon committed Jun 26, 2021
1 parent b8f864c commit 5abb074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/timer-bar-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ export class TimerBarCard extends LitElement {
const oldHass = changedProps.get('hass') as HomeAssistant | undefined;
if (!oldHass) return true;

for (const entity of this._filteredEntities()) {
for (const entity of this.config.entities!) {
if (this._hasEntityChanged(oldHass, entity)) return true;
}

Expand Down

0 comments on commit 5abb074

Please sign in to comment.