Skip to content

Commit 9a8ca36

Browse files
authored
Filter entities from energy sources table with no data (#26974)
Filtere entities from energy sources table with no data
1 parent b454e89 commit 9a8ca36

File tree

2 files changed

+191
-280
lines changed

2 files changed

+191
-280
lines changed

src/data/recorder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export const clearStatistics = (hass: HomeAssistant, statistic_ids: string[]) =>
246246
});
247247

248248
export const calculateStatisticSumGrowth = (
249-
values: StatisticValue[]
249+
values?: StatisticValue[]
250250
): number | null => {
251251
let growth: number | null = null;
252252

0 commit comments

Comments
 (0)