From e0ff431894091d2e8296bd76e23c6aac831eeb89 Mon Sep 17 00:00:00 2001 From: Fabio Manganiello Date: Tue, 12 Jun 2018 20:31:58 +0200 Subject: [PATCH] (Forgot to fix humidity sensor reads) --- platypush/backend/http/static/js/widgets/date-time-weather.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/platypush/backend/http/static/js/widgets/date-time-weather.js b/platypush/backend/http/static/js/widgets/date-time-weather.js index 6541206c70..275583b215 100644 --- a/platypush/backend/http/static/js/widgets/date-time-weather.js +++ b/platypush/backend/http/static/js/widgets/date-time-weather.js @@ -15,7 +15,7 @@ $(document).ready(function() { updateSensorTemperature(event.args.data.temperature); } - if ('humidity' in event.args) { + if ('humidity' in event.args.data) { updateSensorHumidity(event.args.data.humidity); } }