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