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 6541206c7..275583b21 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); } }