gazoscalvertos / Hass-Custom-Alarm

Yet another take on a home assistant custom alarm
221 stars 94 forks source link

[BUG] Dark Sky Unit of Measure ignored on Alarm Page Temperature Value #30

Closed MwC-Trexx closed 5 years ago

MwC-Trexx commented 6 years ago

Temperature value always displayed in C(celsius) regardless of Dark Sky unit setting to F (fahrenheit).

pharpe commented 5 years ago

It's hard coded into the panels\alarm.html

Look for this line <span>[[temp]] &#176;C</span> change to <span>[[temp]] &#176;F</span>

You have to restart Hassio and possibly clear the cache on your browser.

gazoscalvertos commented 5 years ago

I've added an option in the settings to display the temp in fahrenheit. See version 1.3.6 of alarm.html