YR temperature sensor showing Celsius in the history graph but Fahrenheit on the entity/badge

I wanted all of my temperature sensors to be in one graph. Everything else is in a Fahrenheit graph in my History tab (and in my History Graph cards), but the YR sensor is in a Celsius graph by itself. But the YR sensor badge shows its unit as Fahrenheit, and when you click on it, it shows its individual entity graph with the correct Fahrenheit units. So why does it show as Celsius in the History graphs?

sensor:
  - platform: yr
    name: Outside
    monitored_conditions:
    - temperature

Screen Shot 2020-04-01 at 3.33.16 PM

1 Like

Okay, so once midnight passed, history now shows all 3 temperatures in the same graph as Fahrenheit.

Just a solution for anyone with the same niggle. Just wait until midnight! Weird, since I never had the YR on Celsius. Must be the split second default when you first add it, a small bug.

I face the exact issue with a new sensor added.

Even in states the unit is Fahrenheit:

unit_of_measurement: °F

Guess I will wait till midnight then. Thanks for the post!

Also seems to happen (until midnight) when I restart Home Assistant. Something about the YR component when it first starts defaults to C.