Optimize item state chart.
Optimize item state chart.

- Reduce the amount of data that has to be sent to the client by
  combining data points that are closer than 60 seconds together.

jlaunonen/kirppu,jlaunonen/kirppu,jlaunonen/kirppu,jlaunonen/kirppu