forked from platypush/platypush
(Forgot to fix humidity sensor reads)
This commit is contained in:
parent
64ee7e3e59
commit
e0ff431894
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue