Skip to content

Commit 33cbb9e

Browse files
committed
Add link to issue in code
1 parent 6676761 commit 33cbb9e

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/plotly-graph-card.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -611,6 +611,7 @@ export class PlotlyGraph extends HTMLElement {
611611
if (isEntityIdStatisticsConfig(trace)) name += ` (${trace.statistic}) `;
612612
const xsIn = history.map(({ timestamp }) => new Date(timestamp));
613613
const ysIn: Datum[] = history.map(({ value }) =>
614+
// see https://github.com/dbuezas/lovelace-plotly-graph-card/issues/146
614615
value === "unavailable" ? null : value
615616
);
616617

0 commit comments

Comments
 (0)