Global Preference - like ˚C | ˚F

Hi, we have a settings device that stores generic preferences for my dashboards, like unit settings. So the user can select a display preference for ˚C or ˚F and we store the preference in here.

What would be the proper design pattern for using these setting values in all the widgets… In the widgets there is a formula to convert say ˚C values to ˚F. But, can we use the values of another device (settings) to determine if we need to recalculate the temperature value and use another unit to display. Or is there another preferred way how to do this?


I answered my own question by using analysis to set this variable (unit and value/formula) in my device: