Ecobee keeps showing Celsius?

[climate.thermostat](http://192.168.1.214:8123/dev-state#) auto current_temperature: **21.9** min_temp: 7 max_temp: 35 temperature: null target_temp_high: 21.7 target_temp_low: 18.9 fan_mode: on fan_list: auto,on operation_mode: auto operation_list: auto,auxHeatOnly,cool,heat,off hold_mode: null away_mode: off aux_heat: off actual_humidity: 51 fan: on climate_mode: Home operation: cool climate_list: Sleep,Away,Home fan_min_on_time: 0 friendly_name: Thermostat supported_features: 3575 unit_of_measurement: Fahrenheit

I have unit of measurement fahrenheit but the home assistant keeps showing celsius…

Time to change to a logical system of measurement?

or the developers could make an app that is universal?

First, you should use ºF or ºC as your unit_of_measure. Second, make sure the temperature units of the system are correct.

homeassistant:
  latitude: 32.87336
  longitude: 117.22743
  elevation: 430
  unit_system: metric #<---------------------THIS--------------------------
  time_zone: America/Los_Angeles
  name: Home
  whitelist_external_dirs:
    - /usr/var/dumping-ground
    - /tmp

lastly, you’ll need to purge your history database otherwise it will still use the incorrect units (Fahrenheit).

1 Like

i will try this tonight, thank you, how do i purge the database?

Well, that depends on what database you are using. If you aren’t using anything special (I.E. the basic database), then just delete the file. You could also attempt to use the purge database service. Not sure if it exists for the basic database though.

Purged the db, i assume you mean home-assistant_v2.db? if so thats what i deleted, here is my config.yaml, still showing ecobee in celsius :frowning:

homeassistant:
  # Name of the location where Home Assistant is running
  name: Home
  # Location required to calculate the time the sun rises and sets
  latitude: 38.5816
  longitude: -121
  # Impacts weather/sunrise data (altitude above sea level in meters)
  elevation: 0
  # metric for Metric, imperial for Imperial
  unit_system: metric
  # Pick yours from here: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones
  time_zone: PST
  # Customization file
  customize: !include customize.yaml

you need to EDIT the yaml to say imperial - not metric.

1 Like

Yah, what @DavidFW1960 said:

Imperial = everything ºF
Metric = everything ºC

1 Like

yes, i got it to work, thanks all for the help!