(Forgot to fix humidity sensor reads)

This commit is contained in:
Fabio Manganiello 2018-06-12 20:31:58 +02:00
parent 64ee7e3e59
commit e0ff431894

View file

@ -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);
}
}