1
0
mirror of https://github.com/beestat/app.git synced 2025-05-24 02:14:03 -04:00

Fixed #280 - Sometimes ecobee reports auxHeat2 > auxHeat1

This commit is contained in:
Jon Ziebell 2020-06-17 07:46:31 -04:00
parent e3e87de7a1
commit 88108cf93f

View File

@ -498,6 +498,15 @@ class runtime extends cora\api {
continue;
}
/**
* See #280.
*/
if(
$columns['auxHeat2'] > $columns['auxHeat1']
) {
continue;
}
// Date and time are first two columns of the returned data. It is
// returned in thermostat time, so convert it to UTC first.
$timestamp = $this->get_utc_datetime(