Added a cpu temperature custom module. (#446)

* Added a CPU Temperature module.

* Update defauls and add wiki link.

* Move celsius to fahr conversion to method.
This commit is contained in:
Jas Singh
2024-11-06 02:52:22 -08:00
committed by GitHub
parent ec3be1cad8
commit 22055b727a
9 changed files with 281 additions and 0 deletions

View File

@@ -215,4 +215,8 @@ export const getWeatherStatusTextIcon = (weatherData: Weather): WeatherIcon => {
}
};
export const convertCelsiusToFahrenheit = (celsiusValue: number): number => {
return (celsiusValue * 9) / 5 + 32;
};
globalThis['globalWeatherVar'] = globalWeatherVar;