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.
|
// Get all of the individual deltas for averaging.
|
||||||
$group_profile = [
|
$group_profile = [
|
||||||
'setpoint' => [
|
'setpoint' => [
|
||||||
'heat' => [
|
'heat' => null,
|
||||||
'average' => null,
|
'cool' => null
|
||||||
'minimum' => null,
|
|
||||||
'maximum' => null
|
|
||||||
],
|
|
||||||
'cool' => [
|
|
||||||
'average' => null,
|
|
||||||
'minimum' => null,
|
|
||||||
'maximum' => null
|
|
||||||
]
|
|
||||||
],
|
],
|
||||||
'metadata' => [
|
'metadata' => [
|
||||||
'generated_at' => date('c'),
|
'generated_at' => date('c'),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user