mirror of
https://github.com/home-assistant/frontend.git
synced 2025-04-25 05:47:20 +00:00
Only interpolate sensor line charts (#11082)
This commit is contained in:
parent
5c488f8298
commit
5261d583a8
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user