mirror of
https://github.com/beestat/app.git
synced 2025-07-09 03:04:07 -04:00
Fixed #318 - Metrics / Profiles sometimes use data from the wrong thermostat
This commit is contained in:
parent
62a09191c1
commit
b3fa9b8f9d
@ -162,8 +162,8 @@ class profile extends cora\api {
|
|||||||
|
|
||||||
// Get all of the relevant data
|
// Get all of the relevant data
|
||||||
$thermostat_ids = [];
|
$thermostat_ids = [];
|
||||||
foreach($group_thermostats as $thermostat) {
|
foreach($group_thermostats as $group_thermostat) {
|
||||||
$thermostat_ids[] = $thermostat['thermostat_id'];
|
$thermostat_ids[] = $group_thermostat['thermostat_id'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
x
Reference in New Issue
Block a user