Global Preference - like ˚C | ˚F

Global Preference - like ˚C | ˚F

@Vincent Raaijmakers

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?

Thanks!
Vincent