Merge pull request #44 from Meliox/integration-eremem

Detect default temperature unit selection
This commit is contained in:
eremem 2024-05-25 15:29:09 +02:00 committed by GitHub
commit f00005385e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -188,8 +188,12 @@ function configure {
[fF])
TEMP_UNIT="F"
;;
"")
info "No unit selected. Temperatures will be presented in degrees Celsius."
TEMP_UNIT="C"
;;
*)
warn "Invalid selection. Temperatures will be presented in degrees Celsius."
warn "Invalid unit selected. Temperatures will be presented in degrees Celsius."
TEMP_UNIT="C"
;;
esac