Skip to content

Commit

Permalink
fix refresh rate calculation
Browse files Browse the repository at this point in the history
  • Loading branch information
idaho committed Mar 28, 2024
1 parent 5b9398f commit 63b5cad
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 63b5cad

Please sign in to comment.