diff --git a/src/components/chart/state-history-chart-line.ts b/src/components/chart/state-history-chart-line.ts index 100f9dd7af..dde233a2e8 100644 --- a/src/components/chart/state-history-chart-line.ts +++ b/src/components/chart/state-history-chart-line.ts @@ -337,8 +337,8 @@ class StateHistoryChartLine extends LitElement { pushData(new Date(entityState.last_changed), series); }); } else { - // Only disable interpolation for sensors - const isStep = domain === "sensor"; + // Only interpolate for sensors + const isStep = domain !== "sensor"; addDataSet(name, isStep); let lastValue: number;