Merge branch 'henne-master-patch-35546' into 'master'
fixed spaceapi See merge request ctdo/raumstatus!1
This commit is contained in:
commit
f8c35538c2
|
@ -86,8 +86,8 @@ ctdoapi.on('done', function (answer) {
|
|||
simpleanswer.count = answer.count;
|
||||
simpleanswer.names = answer.names;
|
||||
|
||||
spaceanswer.sensors.people_now_present.value = answer.count;
|
||||
spaceanswer.sensors.people_now_present.value = answer.names;
|
||||
spaceanswer.sensors.people_now_present[0].value = answer.count;
|
||||
spaceanswer.sensors.people_now_present[0].names = answer.names;
|
||||
|
||||
if (usercountanswer.datapoints.length > 20) {
|
||||
usercountanswer.datapoints.shift();
|
||||
|
|
Loading…
Reference in New Issue