Browse Source

adding back pressure to weather card rolling display

greenbreakfast 4 years ago
parent
commit
aa28fcb272
1 changed files with 5 additions and 0 deletions
  1. 5 0
      oboo-clock-cards/src/oboo-runtime/js/yahooWeather.js

+ 5 - 0
oboo-clock-cards/src/oboo-runtime/js/yahooWeather.js

@@ -57,6 +57,11 @@ function getYahooWeather (location, tempUnit, distanceUnit) {
 	        		type: 'temp-hi-lo',
 	        		unit: convertTemp(jsonResult.main.temp_min, tempUnit) + tempUnit[0],
 	        		value: convertTemp(jsonResult.main.temp_max, tempUnit)
+	        	},
+	        	{
+	        		type: 'pressure',
+	        		unit: 'hPa',
+	        		value: jsonResult.main.pressure
 	        	}
 	        ]
 	    }