1
0
mirror of https://github.com/beestat/app.git synced 2025-07-09 03:04:07 -04:00

Fixed metrics using old array if not available

This commit is contained in:
Jon Ziebell 2020-02-27 12:05:16 -05:00
parent 35b80df0a2
commit a210487ca6

View File

@ -72,16 +72,8 @@ class thermostat_group extends cora\crud {
// Get all of the individual deltas for averaging.
$group_profile = [
'setpoint' => [
'heat' => [
'average' => null,
'minimum' => null,
'maximum' => null
],
'cool' => [
'average' => null,
'minimum' => null,
'maximum' => null
]
'heat' => null,
'cool' => null
],
'metadata' => [
'generated_at' => date('c'),