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 6541206c..275583b2 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); } }