Skip to content

Commit

Permalink
fix refresh rate calculation (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
idaho committed Mar 28, 2024
1 parent 93aff48 commit 76a9587
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cards/trash-card/trash-card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ export class TrashCard extends LitElement {
}

protected getRefreshRate (): number {
return (this.config?.refresh_rate ?? 60) * 1_000;
return (this.config?.refresh_rate ?? 60) * 60 * 1_000;
}

protected shouldUpdate (changedProps: PropertyValues): boolean {
Expand Down

0 comments on commit 76a9587

Please sign in to comment.