-
To smoth line graphs, I set shape to spline. This works ok, but I wanted to tune the amount of smoothing as documented here, however changing the smoothing values seems to have no effect on the line. With spline and any value of smoothing type: custom:plotly-graph
entities:
- entity: climate.ac_front_lounge
line:
color: red
dash: solid
shape: spline
smoothing: 0.5
width: 1
attribute: current_temperature
hours_to_show: 24
refresh_interval: 10
period: auto
title: Air con temp sensors Am I doing something wrong, or is this a bug? Thanks for this great HACS add on. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 5 replies
-
Hi, |
Beta Was this translation helpful? Give feedback.
-
Thanks yes I see what's happening if I reduce x-axis to 2 hours. So I've put in an exponential moving average with alpha of about 0.4 and in combination with spline smoothing of 0.6 can achieve what I want - thank you! |
Beta Was this translation helpful? Give feedback.
Hi,
the smoothness of the spline only changes what happens between the data points, bot at the data points. Since you have so many data points in the visible range (24 hours), the spline is not noticeable.
Try the moving average filter instead!