thomasloven / lovelace-flower-card

102 stars 37 forks source link

temperature gauge is inaccruate if unit_system: imperial #6

Open sn3ak opened 5 years ago

sn3ak commented 5 years ago

When unit_system: imperial is set, the gauge is 100% pink. Clicking on the card reveals the temperature is correctly converted to Fahrenheit. measurement dict correctly shows: { "temperature": "°F", -snip- } however it appears the gauge is still still looking for the measurement of metric, thus shows a temperature that is much higher then the set limit.

I've looked to see if there is a way to handle this, and automatically make the adjustment but I don't see a means to do so, however I'm not a programmer and the answer could be staring me in the face.

changing unit_system: imperial to unit_system: metric and restarting HA works as expected.