Files
web/api.php
RD WebDesign 4966f01dde Use and set the unit on setupVars.conf option TEMPERATUREUNIT
New behavior!!!
The temperature unit will be set GLOBALLY and not per browser.

- if a TEMPERATUREUNIT is set in setupVars.conf file, the value will be used.
- if there is no unit set in setupVars.conf, "C" will be used;
- changing the value on the web interface WILL CHANGE setupVars.conf.
- if the browser has an old value set on locastorage, this will be ingnored.

Signed-off-by: RD WebDesign <github@rdwebdesign.com.br>
2023-01-27 16:45:38 -03:00

5.9 KiB