Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow setting of default temperature scale #77

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

dtwilliamson
Copy link

This change supports a configuration clause in sensors.conf that allows setting a persistent preference for temperature scale. The configuration group allows for other possible future settings to be included in it. A new command line option is added so that if fahrenheit is set in the configuration it can be overridden on the command line.

Example section of sensors.conf:

[app_config]
temperature_scale = fahrenheit

The new command line option is -c, --celcius. The help option has been updated to reflect the new option.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant