add lights chart

This commit is contained in:
Simon Vieille 2020-11-29 17:19:19 +01:00
parent 0ebf32e6f7
commit b502120716
Signed by: deblan
GPG Key ID: 03383D15A1D31745
1 changed files with 2 additions and 2 deletions

View File

@ -155,10 +155,10 @@ class MonitoringApiController extends AbstractController
}
}
$datasets[] = $lightOn;
$datasets[] = $lightOff;
$datasets[] = $line;
$datasets[] = $line2;
$datasets[] = $lightOn;
$datasets[] = $lightOff;
return $this->createGraphResponse($labels, $datasets);
}