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:
parent
35b80df0a2
commit
a210487ca6
@ -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'),
|
||||
|
Loading…
x
Reference in New Issue
Block a user