add pressure direction to current conditions

This commit is contained in:
Matt Walsh 2022-08-02 21:40:21 -05:00
parent ff98d970ef
commit 1ee15f38ee

View file

@ -132,7 +132,7 @@ class CurrentWeather extends WeatherDisplay {
fill.dewpoint = data.DewPoint + String.fromCharCode(176); fill.dewpoint = data.DewPoint + String.fromCharCode(176);
fill.ceiling = (data.Ceiling === 0 ? 'Unlimited' : data.Ceiling + data.CeilingUnit); fill.ceiling = (data.Ceiling === 0 ? 'Unlimited' : data.Ceiling + data.CeilingUnit);
fill.visibility = data.Visibility + data.VisibilityUnit; fill.visibility = data.Visibility + data.VisibilityUnit;
fill.pressure = data.Pressure; fill.pressure = `${data.Pressure} ${data.PressureDirection}`;
// switch (data.PressureDirection) { // switch (data.PressureDirection) {
// case 'R': // case 'R':