From 1ee15f38ee5dc80e3054ca5be937289e559f064e Mon Sep 17 00:00:00 2001 From: Matt Walsh Date: Tue, 2 Aug 2022 21:40:21 -0500 Subject: [PATCH] add pressure direction to current conditions --- server/scripts/modules/currentweather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/scripts/modules/currentweather.js b/server/scripts/modules/currentweather.js index ae5a4b8..8da9403 100644 --- a/server/scripts/modules/currentweather.js +++ b/server/scripts/modules/currentweather.js @@ -132,7 +132,7 @@ class CurrentWeather extends WeatherDisplay { fill.dewpoint = data.DewPoint + String.fromCharCode(176); fill.ceiling = (data.Ceiling === 0 ? 'Unlimited' : data.Ceiling + data.CeilingUnit); fill.visibility = data.Visibility + data.VisibilityUnit; - fill.pressure = data.Pressure; + fill.pressure = `${data.Pressure} ${data.PressureDirection}`; // switch (data.PressureDirection) { // case 'R':