Any thoughts on adding options for the Volvo On Call component being able to list values in Imperial / International (American) miles, as opposed kilometers or Scandanavian miles, which aren’t the same?
I just used a template:
sensors:
myreg_fuel_consumption_mpg:
unit_of_measurement: 'MPG'
value_template: "{{ (282.48 / states('sensor.myreg_fuel_consumption') | float) | round(2)}}"
1 Like
I use this template to change km to miles:
sensors:
xc90_trip_meter_2_miles:
friendly_name: "Trip 2"
unit_of_measurement: 'Miles'
value_template: "{{ (states('sensor.xc90_trip_meter_2') | float * 0.62137) | round(2)}}"```
1 Like