Volvo On Call: support for statistics (state_class)

For Volvo On Call - Home Assistant (,
can state_class be added to the sensors (e.g. odometer, fuel_consumption, fuel_level) so they can be used for the recently added statistics functionality in HA?

1 Like

Unfortunately, the PR did not get merged. For anyone looking for a quick workaround to enable statistics while this gets fixed, please add a state_class to your customize.yaml. Here’s an example for my odometer sensor:

  state_class: total_increasing


1 Like